in reply to Re: validating a quoted string
in thread validating a quoted string
does'nt work as expected. I can have a string separated by spaces. Sometimes I can also have two or more strings within quotes to be considered as a single string (just like command line arguments we pass to a script).$in =~ /(["]?)[^" ]+\1/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: validating a quoted string
by Corion (Patriarch) on Jan 13, 2016 at 13:57 UTC | |
|
Re^3: validating a quoted string
by BillKSmith (Monsignor) on Jan 13, 2016 at 14:41 UTC |