Permalink
Browse files

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

…em work.
  • Loading branch information...
1 parent 6cffbf3 commit 9864b66077088a235bf112f47e510215038669c1 @jnthn jnthn committed Nov 20, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/JSON/Tiny/Grammar.pm
View
@@ -26,14 +26,7 @@ token string {
}
token str {
- [
- <!before \t>
- <!before \n>
- <!before \\>
- <!before \">
- .
- ]+
-# <-["\\\t\n]>+
+ <-["\\\t\n]>+
}
token str_escape {

0 comments on commit 9864b66

Please sign in to comment.