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
I noticed that the current default re package does not support non-fixed-width pattern look-behind.
And this feature is actually very useful and powerful to have. For example, the following is not supported by re but by regex. (?<=\/\*(\*(?!\/)|[^*])*\*\/(\s|\S)*\n)(?!\/\*(\s|\S)*\n)(.{120,})(?!(\s(?!\/\*)|\S(?!\/\*))*\*\/\n)
Is it possible to switch the default re to the regex package, which supports such a feature? I have issued a PR for it.
The text was updated successfully, but these errors were encountered:
I noticed that the current default
re
package does not support non-fixed-width pattern look-behind.And this feature is actually very useful and powerful to have. For example, the following is not supported by
re
but byregex
.(?<=\/\*(\*(?!\/)|[^*])*\*\/(\s|\S)*\n)(?!\/\*(\s|\S)*\n)(.{120,})(?!(\s(?!\/\*)|\S(?!\/\*))*\*\/\n)
Is it possible to switch the default
re
to theregex
package, which supports such a feature? I have issued a PR for it.The text was updated successfully, but these errors were encountered: