R
Roedy Green
Has anyone ever tackled the problem of specifying regexes on the
command line?
It seems you might need three levels of quoting, for regex, for Java
strings and for magic command line characters.
Do you handle it by insisting the regex expression live is a separate
file?
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Man has been endowed with reason, with the power to create, so that he can add
to what he’s been given. But up to now he hasn’t been a creator, only a destroyer.
Forests keep disappearing, rivers dry up, wild lifes become extinct,
the climate’s ruined and the land grows poorer and uglier every day."
~ Anton Chekhov (born: 1860-01-29 died: 1904-07-15 at age: 44)
command line?
It seems you might need three levels of quoting, for regex, for Java
strings and for magic command line characters.
Do you handle it by insisting the regex expression live is a separate
file?
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Man has been endowed with reason, with the power to create, so that he can add
to what he’s been given. But up to now he hasn’t been a creator, only a destroyer.
Forests keep disappearing, rivers dry up, wild lifes become extinct,
the climate’s ruined and the land grows poorer and uglier every day."
~ Anton Chekhov (born: 1860-01-29 died: 1904-07-15 at age: 44)