Comparing version 0.0.2 to 0.0.3
@@ -515,3 +515,3 @@ function parse(n) { | ||
return new Token("any-character"); | ||
}, Qr = "Literal", jr = /^[^|\\\/.[() ?+*$\^]/, mr = "[^|\\\\\\/.[() ?+*$\\^]", Gr = function(n) { | ||
}, Qr = "Literal", jr = /^[^|\\\/.[()?+*$\^]/, mr = "[^|\\\\\\/.[()?+*$\\^]", Gr = function(n) { | ||
return new Literal(n); | ||
@@ -518,0 +518,0 @@ }, Fr = "\\b", Sr = '"\\\\b"', Ur = function() { |
{ | ||
"name": "regexp", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Regex Parser", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -126,3 +126,82 @@ module.exports = [ | ||
}] | ||
}] | ||
}], | ||
[/again and again/,{ type: 'match', | ||
offset: 0, | ||
text: 'again and again', | ||
body: | ||
[ { type: 'literal', | ||
offset: 0, | ||
text: 'a', | ||
body: 'a', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 1, | ||
text: 'g', | ||
body: 'g', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 2, | ||
text: 'a', | ||
body: 'a', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 3, | ||
text: 'i', | ||
body: 'i', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 4, | ||
text: 'n', | ||
body: 'n', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 5, | ||
text: ' ', | ||
body: ' ', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 6, | ||
text: 'a', | ||
body: 'a', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 7, | ||
text: 'n', | ||
body: 'n', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 8, | ||
text: 'd', | ||
body: 'd', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 9, | ||
text: ' ', | ||
body: ' ', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 10, | ||
text: 'a', | ||
body: 'a', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 11, | ||
text: 'g', | ||
body: 'g', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 12, | ||
text: 'a', | ||
body: 'a', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 13, | ||
text: 'i', | ||
body: 'i', | ||
escaped: false }, | ||
{ type: 'literal', | ||
offset: 14, | ||
text: 'n', | ||
body: 'n', | ||
escaped: false } ] }] | ||
] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35231
822