in reply to Re^2: How to extract special charachetrs like <=, >= != from string
in thread How to extract special charachetrs like <=, >= != from string

My question to this is, how does it know to print the = after the ><=! ? Maybe i am missing a key piece of data/knowledge which would not surprise me lol.

Replies are listed 'Best First'.
Re^4: How to extract special charachetrs like <=, >= != from string
by choroba (Cardinal) on Aug 14, 2015 at 05:58 UTC
    Because of the +.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^4: How to extract special characters like <=, >= != from string
by soonix (Chancellor) on Aug 14, 2015 at 06:44 UTC
    actually, it matches also =>, <>, !!, <=>, or in fact any combination of these four characters. It says "match these characters, one or more times".
    If you want only one of the 4 characters followed by a single "=", you'd write [!<=>]=
Re^4: How to extract special charachetrs like <=, >= != from string
by vinoth.ree (Monsignor) on Aug 14, 2015 at 06:30 UTC
    ++choroba

    james28909, It could be great if you read this line + Match 1 or more times from the link you shared Regular Expressions


    All is well. I learn by answering your questions...
      For some reason I thought that meant the same character haha. I thought it would matched the character 'a' or 'aaaaa' not 'ab' or 'a3' ect. Anyways, i learn something new everyday I recon haha.