Re: Regular Expression and Useage



On Oct 30, 12:39 pm, Jim Gibson <jimsgib...@xxxxxxxxx> wrote:
In article <1193775898.489424.50...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,

<"inderpau...@xxxxxxxxx"> wrote:
On Oct 30, 11:41 am, Paul Lalli <mri...@xxxxxxxxx> wrote:
On Oct 30, 1:54 pm, "inderpau...@xxxxxxxxx" <inderpau...@xxxxxxxxx>
wrote:

I'm somewhat new to regular expression and want to know how to extract
any strings which match an IP address.

[good advice from Paul snipped]



Paul does it matter if I'm using these Perl Regular Expressions in C+
+ ? Is the implementation of this RegEx engine not the same uner any
platform ? Its not working in C++.

Yes, it matters. Since this group is about the Perl language, everybody
who read your post assumed you were talking about the Perl regular
expression engine. Other regex engines will have their own
implementation and their own rules. You cannot assume that what is true
for Perl is also true for the regex engine you are using. You need to
read the documentation for the implementation you are using.

--
Jim Gibson

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

My apologies everyone I am newbie to programming including Perl.

.



Relevant Pages

  • Re: What do you need to have to be considered a Master at Perl?
    ... (--and note the warnings, in particular: ... Because perl's regex engine is not currently re-entrant, ... Quote from "perlre - Perl regular expressions" ... ... defined inside an eval'ed pattern are not available ...
    (comp.lang.perl.misc)
  • Re: Regex compiler not showing backtracking for *
    ... different version of perl when they were writing the book. ... exhibited by the regex engine back then to have remained with us at ... The regex rules? ...
    (comp.lang.perl.misc)
  • Re: converting the contents of a scalar
    ... I didn'l know that the Perl regex engine would interpolate scalar ... where is 'regex engine would interpolate scalar variables' happening ...
    (comp.lang.perl.misc)
  • Re: Inverted RegEx on list of numbers
    ... I'm oblivious to some detail of how the RegEx engine works. ... You have a mere RE "problem". ... There is nothing perl specific in your ... detailed explanation. ...
    (comp.lang.perl.misc)