Next | Regular Expression Mastery | 36 |
``How do I match a double-quoted string?''
/".*?"/
It works, but in older versions of Perl it was slow
Why?
"If I were your husband," he replied, "I should drink it."
Next | ![]() |
Copyright © 2002 M. J. Dominus |