Skip to content

Commit

Permalink
new escape seq \f
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Oct 14, 2014
1 parent e5532d3 commit e26d70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smop/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def new():
ws1 = ws+"+"
ws0 = ws+"*"
ms = r"'([^']|(''))*'"
os = r'"([^"\a\b\r\t\0\v\n\\]|(\\[abn0vtr\"\n\\])|(""))*"'
os = r'"([^"\a\b\f\r\t\0\v\n\\]|(\\[abfn0vtr\"\n\\])|(""))*"'
mos = "(%s)|(%s)" % (os,ms)
id = r"[a-zA-Z_][a-zA-Z_0-9]*"

Expand Down

0 comments on commit e26d70b

Please sign in to comment.