in reply to Re: Regex libraries
in thread Regex libraries
Perl goes: /(?=.*\.)/
Boost goes: /[^.]*/
Actually I just got aware that the second regex without Lookahead is much more usefull because its more flexible. I simply didnt thought well enough about my problem.
I should take myself more time to think about problems. One week still isnt enough ;-) I probably should wipe my ideas if I havent solved them in one day.
The obvious often hides behind the complicated.
Anyhow. I just made the decision to use the library which is currently implemented. I was more frightend to have something I wouldnt be able to work with. And I needed to see this written down somewhere *g
Thanks for pointing me in the right direction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex libraries
by ikegami (Patriarch) on Dec 31, 2004 at 18:58 UTC |