http://qs321.pair.com?node_id=944256


in reply to Re: regex to find vowels in anyorder
in thread regex to find vowels in anyorder

Not a homework. but this question raised when we were discussing about regex between perl developers... I am looking for one expression to find it.

Replies are listed 'Best First'.
Re^3: regex to find vowels in anyorder
by Corion (Patriarch) on Dec 19, 2011 at 15:23 UTC
    So, what code did the discussion between you Perl developers produce? What advantages are there to it? What disadvantages? If you are developers, you will surely have written code. If none of you developers has an idea, it surprises me that none of you developers has a question about perlre.
Re^3: regex to find vowels in anyorder
by MidLifeXis (Monsignor) on Dec 19, 2011 at 15:22 UTC

    Perhaps the 'Look-Around Assertions' section of perlre might be helpful. See specifically (?=pattern). I would think that a set of five of these would work.

    --MidLifeXis