Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?

Posted by JW01 on Programmers See other posts from Programmers or by JW01
Published on 2011-09-14T15:25:05Z Indexed on 2012/10/14 21:50 UTC
Read the original article Hit count: 422

Filed under:

Often I come across documentation that says "use a regular expression here" I have to spend quite some time digging around trying to work out which regular expression format they are expecting.

As far as I can tell, there are many types of regular expression.

But, at my last place of work I was made to feel stupid when I suggested adding some text to our User Documentation to specify the type of regular expression to be used.

When someone says "a regular expression" what is the regular expression syntax most people expect and where is it documented?

Update: I was prompted to single-out some examples - but no disrespect to these great projects:

© Programmers or respective owner

Related posts about regular-expressions