version 5.0.0_beta

integrate PIRegularExpression into PIString and PIDir
add piliterals_regularexpression.h for ""_regex and ""_glob literals
This commit is contained in:
2025-08-13 18:48:01 +03:00
parent 7a6936ccd9
commit b6c5d65a8d
9 changed files with 158 additions and 57 deletions

View File

@@ -103,13 +103,13 @@ public:
PIString captureGroupName(int index) const;
int captureGroupIndex(const PIString & gname) const;
Matcher match(const PIString & subject, size_t offset = 0);
Matcher match(PIString & subject, size_t offset = 0);
Matcher match(PIString && subject, size_t offset = 0);
Matcher match(const PIString & subject, size_t offset = 0) const;
Matcher match(PIString & subject, size_t offset = 0) const;
Matcher match(PIString && subject, size_t offset = 0) const;
Matcher matchIterator(const PIString & subject, size_t offset = 0);
Matcher matchIterator(PIString & subject, size_t offset = 0);
Matcher matchIterator(PIString && subject, size_t offset = 0);
Matcher matchIterator(const PIString & subject, size_t offset = 0) const;
Matcher matchIterator(PIString & subject, size_t offset = 0) const;
Matcher matchIterator(PIString && subject, size_t offset = 0) const;
static PIRegularExpression fromGlob(const PIString & pattern, Options opt = None);
static PIRegularExpression fromPOSIX(const PIString & pattern, Options opt = None);