-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Description
This is more of a suggestion than a well-defined rule proposal. I figured someone else might already have the knowledge to say whether this is a great or a terrible idea.
My basic idea is to have a rule that forces you to write regular expressions that are compatible with V8's linear regular expression engine. I haven't looked at it too carefully but it is my understanding that this would just amount to disallow certain features of JavaScript regular expressions because they're not supported by that engine.
For some additional context, I'm trying to figure out how I, as a library author, can write regular expression that are compatible with the linear engine so that application developers actually have a chance of enabling the option (I started a discussion in nodejs/node#51659 (comment)).