in reply to Re^2: Is there a more functional regex syntax?
in thread Is there a more functional regex syntax?
Thank, this is what I've been looking for!
It's not extremely pretty, but it should scale nicely for the general case of needing the result of a regex string extraction as a right-hand-side value.
PS: The regex suggested by tobyink above can make the single-line case much more readable: /(\d+)/g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is there a more functional regex syntax?
by kennethk (Abbot) on Sep 18, 2012 at 17:35 UTC |