Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) STL std::regex

 

std::regex is an STL class for regular expressions.

 

The default regular expression notation is that of ECMAScript [1], but the regex can use POSIX, awk, grep and egrep notation additionally [2].

 

 

 

 

 

Example programs and code snippets

 

 

 

 

 

 

External links

 

 

 

 

 

 

References

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Page 1071, 37.6 'Advice', item 3: 'The default regular expression notation is that of ECMAScript'
  2. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Page 1071, 37.6 'Advice', item 9: 'regex can use ECMAScript, POSIX, awk, grep and egrep notation'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict