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
How to define non-global and case sensitive search flags?
In regular expressions, there isn’t a specific flag to explicitly declare a non-global search and case sensitive. The absence of the g and i flags in regular expression is the default way to perform a non-global case sensitive search. Setting the regexFlags option to an empty string seems to fall back to gi. Any workaround?
The text was updated successfully, but these errors were encountered:
How to define non-global and case sensitive search flags?
In regular expressions, there isn’t a specific flag to explicitly declare a non-global search and case sensitive. The absence of the
g
andi
flags in regular expression is the default way to perform a non-global case sensitive search. Setting theregexFlags
option to an empty string seems to fall back togi
. Any workaround?The text was updated successfully, but these errors were encountered: