On Feb 11, 7:46 pm, practicalp...@gmail.com wrote:
> I saw a Regex:
>
> (?i:(j?sessionid|(php)?sessid|(asp|jserv|jw)?session[-_]?(id)?|cf(id|token)|sid))
>
> I especially didn't know what the leading "?i:" means.
> Please help, thanks!

So, ... isn't this much more readable:

(?ix:
    (
        j?sessionid
        |
        (php)?sessid
        |
        (asp|jserv|jw)?session[-_]?(id)?
        |
        cf(id|token)
        |
        sid
    )
)


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to