regex

From: Edo (eddod_at_eddododod.dod)
Date: 08/01/04


Date: Sun, 01 Aug 2004 04:28:45 -0700

Hello
Coming across boost library and regex++, and having been familiar with
Perl and regex for some time.
The string class in c++ does not cut it as well as if there are regex
functionalities, so. Need some advise?
Should I get into regex++, or call Perl/regex functionality on a string
from within C++ "which I don't know how" but I hope it is not a big problem.

Thanks



Relevant Pages

  • Re: A little help with regular expressions
    ... I wanted to do some benchmarking to see how fast I could get the regex to work. ... Kevin Yu wrote: ... I agree with Larry that using IndexOf in String class is enough in this scenario. ... I think it'll be faster than RegEx, because it will parse the whole string according to RegEx schema, which makes it slower. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Regular expression
    ... The reason I wanted to use Regular expressions was merely to learn more ... I agree that the String class can be used but I wondered how ... Regex could be used. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Var type
    ... If all you are doing is splitting on the "/", then a regex is overkill ... Basically, you should use the Split method on the string class, like ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: matching a pattern with a space or no space??
    ... Perl doesn't have that function. ... How can I regex a data flow that is always ... surrounded by optional white space. ... next name and assignment. ...
    (comp.lang.perl.misc)
  • Re: Regexp slowdown
    ... with the same weak logic that you use for the regex stuff. ... cr> What of that makes you think I'm worried about the syntax of my regex? ... cr> memory-intensive attempt at interpreter optimization by the perl folks. ... cr> had a mile-long stack frame I would see a performance hit. ...
    (comp.lang.perl.misc)