Allow quoted strings to contain any ascii character

This commit is contained in:
Marty Kraimer
1998-01-21 15:01:57 +00:00
parent 276d661ce4
commit c618ea173e
2 changed files with 6 additions and 36 deletions
+3 -18
View File
@@ -1,23 +1,8 @@
pvname [a-zA-Z0-9_~\-:\.\[\]<>;]
BEL \\a
BS \\b
FF \\f
NL \\n
CR \\r
HT \\t
VT \\v
backSla \\\\
question \\\?
single \\\'
double \\\"
octal \\[0-7]+
hexa \\x[a-fA-F0-9]+
escape {BEL}|{BS}|{FF}|{NL}|{CR}|{HT}|{VT}|{backSla}|{question}|{single}|{double}|{octal}|{question}|{hexa}
spaces [ \t]
regular [a-zA-Z0-9_\,\^~\./\*#\[\]%:;!|\'\-&\(\)@\?\+<>=\$\{\}]
value {regular}|{spaces}|{escape}
notquote [^\"]
escapequote \\\"
value {notquote}|{escapequote}
%{
%}
+3 -18
View File
@@ -2,24 +2,9 @@
word [a-zA-Z0-9_\.\^~/\*#\[\]%:;!|\-&\$\(\)@\?\+<>]
par [\"\']
BEL \\a
BS \\b
FF \\f
NL \\n
CR \\r
HT \\t
VT \\v
backSla \\\\
question \\\?
single \\\'
double \\\"
octal \\[0-7]+
hexa \\x[a-fA-F0-9]+
escape {BEL}|{BS}|{FF}|{NL}|{CR}|{HT}|{VT}|{backSla}|{question}|{single}|{double}|{octal}|{question}|{hexa}
spaces [ \t]
regular [a-zA-Z0-9_\,\^~\./\*#\[\]%:;!|\'\-&\(\)@\?\+<>=\$\{\}]
value {regular}|{spaces}|{escape}
notquote [^\"]
escapequote \\\"
value {notquote}|{escapequote}
%{
%}