aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pire/pcre2pire.h
diff options
context:
space:
mode:
authorsmikler <smikler@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit0e68ae909d3b76a5a001a07880eb0010dec6b2ea (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex/pire/pcre2pire.h
parente4f0fd4ab53ca40eb91e750cf3e7f76c21e930db (diff)
downloadydb-0e68ae909d3b76a5a001a07880eb0010dec6b2ea.tar.gz
Restoring authorship annotation for <smikler@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pire/pcre2pire.h')
-rw-r--r--library/cpp/regex/pire/pcre2pire.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/regex/pire/pcre2pire.h b/library/cpp/regex/pire/pcre2pire.h
index 9a52e1c70f..46e45b9193 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);