in reply to Re: Converting a stringified regexp back into a regexp
in thread Converting a stringified regexp back into a regexp
I am matching XML element names, so probably no newlines there. But indeed I have to make the second group optional: m{^\(\?([xism]*)(?:-[xism]*)?:(.*)\)$}.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Converting a stringified regexp back into a regexp
by Anonymous Monk on Apr 07, 2005 at 17:28 UTC | |
by mirod (Canon) on Apr 07, 2005 at 17:49 UTC | |
by Anonymous Monk on Apr 07, 2005 at 19:04 UTC |