Re: Regexp: Negation with backreference?



j.vimal wrote:
Ok ... But say I really want to do it this way, to learn Regexp, :)

There is no such thing. Regexps are not a universal concept. You can
not take on regular expression for Perl and just assume it will work
the same way in any other language.

Then ?

But why do you say that this is a wrong way? Are there performance
issues?

No, there are ability issues. Regular expressions cannot (correctly)
parse HTML.

Paul Lalli

.



Relevant Pages

  • Re: Changing date field in a text file...
    ... > you understand a little more about the Perl language. ... > seeing those quotes anyway. ... Those two digits will be the day number. ... The regular expression is the contents of the first pair ...
    (comp.unix.shell)
  • [Full-disclosure] [ GLSA 200711-28 ] Perl: Buffer overflow
    ... A buffer overflow in the Regular Expression engine in Perl possibly ... the Gentoo Security Website: ...
    (Full-Disclosure)
  • [ GLSA 200711-28 ] Perl: Buffer overflow
    ... A buffer overflow in the Regular Expression engine in Perl possibly ... the Gentoo Security Website: ...
    (Bugtraq)
  • Re: Please any one suggest me some project ideas
    ... implements the same thing as the regexp. ... All programming languages involve some degree of tradeoff between ... but documenting and testing a regular expression is no harder than ... Also perl allows whitespace and comments in regular expressions (if you ...
    (comp.programming)
  • Re: Changing date field in a text file...
    ... you understand a little more about the Perl language. ... But the shell "eats" quotes before sending the rest to Perl. ... Those two digits will be the day number. ... The regular expression is the contents of the first pair ...
    (comp.unix.shell)