posix vs perl regular expressions

R

RN

Hi,

I don't know if this is the right place to ask this, but -
what's the difference between posix and perl regular expressions?

A good example is "aa|bb". Will this match "aa" or "ab" in perl and
posix?

And for those POSIX experts, what do the following do?
[==] is for non-english languages and such?
[..] is for strings instead of characters in bracket expressions?
[::] what does this do?
any difference between [[]] and []?

I'm asking because I'm a contributer to wxWindows, and we're trying to
figure out what to do with the current regular expressions library
wxWindows is using (it's not unicode complaint, etc.).

The reason I ask the posix questions is except for those expression
types mentioned above (the 3/4 bracket types and alternation
operator), my own regex library meets posix standards.

Thanks,
RN
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top