Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Jul 26, 2024
1 parent d3baae5 commit 95c5cd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ function fromTemplate(constructor, options, template, ...substitutions) {
const {
flags = '',
postprocessors = [],
// Set defaults for options used for debugging and testing
// Extended syntax follows flag n by default, since flag n's behavior is required to emulate
// atomic groups and subroutines without side effects
__extendSyntax = options.__flagN ?? true,
__flagN = true,
__flagV = flagVSupported,
Expand Down

0 comments on commit 95c5cd7

Please sign in to comment.