Does C or C++ have a standard regex library?

前端 未结 9 710
梦毁少年i
梦毁少年i 2021-02-05 10:36

Does it? If yes, where can I get the documentation for it... if not, then which would be the best alternative?

9条回答
  •  有刺的猬
    2021-02-05 11:10

    If by standard you mean bundled with compiler, then not. But most of the other languages that bundle regex extension use pretty standard c implementations. E.g. PCRE - Perl Compatible Regular Expression and C libraries have POSIX regex support (see man page).

提交回复
热议问题