projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Change #2584 from maint-5.005:
[p5sagit/p5-mst-13.2.git]
/
lib
/
Text
/
ParseWords.pm
diff --git
a/lib/Text/ParseWords.pm
b/lib/Text/ParseWords.pm
index
2414f80
..
065c2f7
100644
(file)
--- a/
lib/Text/ParseWords.pm
+++ b/
lib/Text/ParseWords.pm
@@
-63,7
+63,7
@@
sub parse_line {
([\000-\377]*) # and the rest
| # --OR--
^((?:\\.|[^\\"'])*?) # an $unquoted text
- (\Z(?!\n)|$delimiter|(?!^)(?=["']))
+ (\Z(?!\n)|(?-x:$delimiter)|(?!^)(?=["']))
# plus EOL, delimiter, or quote
([\000-\377]*) # the rest
/x; # extended layout