diff options
Diffstat (limited to 'library/cpp/regex/pire/pcre2pire.h')
-rw-r--r-- | library/cpp/regex/pire/pcre2pire.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/regex/pire/pcre2pire.h b/library/cpp/regex/pire/pcre2pire.h index 46e45b9193..9a52e1c70f 100644 --- a/library/cpp/regex/pire/pcre2pire.h +++ b/library/cpp/regex/pire/pcre2pire.h @@ -1,19 +1,19 @@ #pragma once -// Author: smikler@yandex-team.ru - +// Author: smikler@yandex-team.ru + #include <util/generic/string.h> - -/* Converts pcre regular expression to pire compatible format: - * - replaces "\\#" with "#" - * - replaces "\\=" with "=" - * - replaces "\\:" with ":" - * - removes "?P<...>" - * - removes "?:" - * - removes "()" recursively - * - replaces "??" with "?" - * - replaces "*?" with "*" - * NOTE: - * - Not fully tested! - */ + +/* Converts pcre regular expression to pire compatible format: + * - replaces "\\#" with "#" + * - replaces "\\=" with "=" + * - replaces "\\:" with ":" + * - removes "?P<...>" + * - removes "?:" + * - removes "()" recursively + * - replaces "??" with "?" + * - replaces "*?" with "*" + * NOTE: + * - Not fully tested! + */ TString Pcre2Pire(const TString& src); |