diff --git a/lib/helpers/regexes/mix.regexes.js b/lib/helpers/regexes/mix.regexes.js index 67b16b8..1b8a6f3 100644 --- a/lib/helpers/regexes/mix.regexes.js +++ b/lib/helpers/regexes/mix.regexes.js @@ -9,7 +9,7 @@ import { * RegEx to parse the project name from mix.exs content */ const mixProjectNameRegex = RegExp( - /(?<=\bdef project\b)(?:(?!\bend\b).)+?app:\s*:([A-Za-z0-9_@]+)+?.+?(?=end)/, + /(?<=\bdef project\b)(?:(?!\bend\b).)+?app:\s*:([A-Za-z0-9_@]{1,255})+?.+?(?=end)/, "s", );