You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consider following code, it will timeout, we should change [a-zA-Z0-9_\.()]*| to [a-zA-Z0-9_\.()]*?|
a = /
(\b[snN]?__) # Matches the function call grouping the method used (__, n__, N__, etc)
\( # and a parenthesis to start the arguments to the function.
(('.*?'| # Then a token inside the argument list, like a single quoted string
".*?"| # ...Double quote string
[a-zA-Z0-9_\.()]*| # ...a number, variable name, or called function lik: 33, foo, Foo.bar()
[ ]| # ...a white space
,) # ...or a comma, which separates all of the above.
*) # There may be many arguments to the same function call.
\) # function call closing parenthesis
/x
b = "category_name = __('No Category') if category_name == null"
b.scan(a)
The text was updated successfully, but these errors were encountered:
consider following code, it will timeout, we should change
[a-zA-Z0-9_\.()]*|
to[a-zA-Z0-9_\.()]*?|
The text was updated successfully, but these errors were encountered: