Changes

Jump to: navigation, search

OPS102 - Regular Expressions

6 bytes added, 15:09, 6 December 2023
Regular Expression Dialects
Other tools, such as sed, similarly require backslashes in front of some of the extended regexp meta-characters (or, if you're using a GNU version of sed, you can use the -E option to enable extended regular expressions, just like GNU grep).
The Perl language introduced one of the most powerful and consistent versions of the regular expression language. There has been increasing consensus around "Perl-Compatible Regular Extensions" (aka PCRE) and that dialect is available in many tools (including GNU grep via the <code>-P</code> option, as well as the [https://www.pcre.org/ PCRE/PCRE2 library] for C and C++ programs, which is used in many software packages including Safari and Apachehttpd).
== Using Regular Expressions ==

Navigation menu