@@ -1,5 +1,5 @@
|
||||
grammar JavascriptRegexp
|
||||
root <- ( ( "/" regexp "/" flags:[igm]* ) / regexp flags:""? ) <Root>
|
||||
root <- ( ( "/" regexp "/" flags:[yigmu]* ) / regexp flags:""? ) <Root>
|
||||
regexp <- match:match alternates:( "|" match )* <Regexp>
|
||||
match <- (!repeat) parts:match_fragment* <Match>
|
||||
anchor <- ( "^" / "$" ) <Anchor>
|
||||
|
||||
@@ -9,7 +9,9 @@ export default {
|
||||
flagLabels: {
|
||||
i: 'Ignore Case',
|
||||
g: 'Global',
|
||||
m: 'Multiline'
|
||||
m: 'Multiline',
|
||||
y: 'Sticky',
|
||||
u: 'Unicode'
|
||||
},
|
||||
|
||||
// Renders the root into the currently set container.
|
||||
|
||||
Reference in New Issue
Block a user