Skip to content

Commit 908e12f

Browse files
ochafikggerganov
andauthored
Update common/regex-partial.cpp
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 6f109fa commit 908e12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/regex-partial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ common_regex_match common_regex::search(const std::string & input, size_t pos, b
6767
The regex will match a reversed string fully, and the end of the first (And only) capturing group will indicate the reversed start of the original partial pattern
6868
(i.e. just where the final .* starts in the inverted pattern; all other groups are turned into non-capturing groups, and reluctant quantifiers are ignored)
6969
*/
70-
std::string regex_to_reversed_partial_regex(const std::string &pattern) {
70+
std::string regex_to_reversed_partial_regex(const std::string & pattern) {
7171
auto it = pattern.begin();
7272
const auto end = pattern.end();
7373

0 commit comments

Comments
 (0)