Does Regular Expression vary according to language?

Asked

Viewed 180 times

7

Most languages have support for Regex (Regular Expressions) but, for example, Javascript does not have Negative Lookhead ((?<) , however already . NET Framework has virtually all functions of Regex. My question is:

The Regex syntax, function and spelling varies along with the language being refocused?

  • 3

    There are variations yes. Take a look here on Wikipedia

  • 2

    The regularexpressions.info has several tables comparing the resources present in various languages and platforms (I remember having a tabelona with everything together, but I never find it when I look for...)

1 answer

0


NAY

It does not vary, what happens is that it is always in development, and there is a gap between the publication of a new resource and the libraries of various languages support them.

However, an expression has the same functionality in any language. What may occur is, if it is a new expression/resource, this language may not yet support.

But, vary, does not vary.

  • Those who are negative, please speak.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.