Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify token str, now that char classes with escape sequences in th…

…em work.
  • Loading branch information...
commit 9864b66077088a235bf112f47e510215038669c1 1 parent 6cffbf3
@jnthn jnthn authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/JSON/Tiny/Grammar.pm
View
9 lib/JSON/Tiny/Grammar.pm
@@ -26,14 +26,7 @@ token string {
}
token str {
- [
- <!before \t>
- <!before \n>
- <!before \\>
- <!before \">
- .
- ]+
-# <-["\\\t\n]>+
+ <-["\\\t\n]>+
}
token str_escape {
Please sign in to comment.
Something went wrong with that request. Please try again.