diff options
| author | smikler <[email protected]> | 2022-02-10 16:49:32 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:32 +0300 | 
| commit | e4f0fd4ab53ca40eb91e750cf3e7f76c21e930db (patch) | |
| tree | afee3c8173a0960bf439959f26e7624d1212e11a /library/cpp/regex/pire/pcre2pire.h | |
| parent | 1503061b80644305b2e6dd1327b57118e35ebd31 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
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 46e45b91930..9a52e1c70fc 100644 --- a/library/cpp/regex/pire/pcre2pire.h +++ b/library/cpp/regex/pire/pcre2pire.h @@ -1,19 +1,19 @@  #pragma once -// Author: [email protected] - +// Author: [email protected]  +   #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); | 
