diff options
| author | Tyge Løvset <[email protected]> | 2022-06-12 18:51:24 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-06-12 18:51:24 +0200 |
| commit | 2e289403cdeb998a38fd9467f05e9e8525cb69e7 (patch) | |
| tree | bf48c7bc93faf4db7b8adb9f71db92fbd8fb9e33 /include/stc | |
| parent | 69e930f36ab18999009d064f08e2a0b4f10733b3 (diff) | |
| download | STC-modified-2e289403cdeb998a38fd9467f05e9e8525cb69e7.tar.gz STC-modified-2e289403cdeb998a38fd9467f05e9e8525cb69e7.zip | |
Renamed cregex_find89 => cregex_match()
Diffstat (limited to 'include/stc')
| -rw-r--r-- | include/stc/cregex.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stc/cregex.h b/include/stc/cregex.h index 1afe484f..448f9405 100644 --- a/include/stc/cregex.h +++ b/include/stc/cregex.h @@ -23,10 +23,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef CREGEX9_H_ -#define CREGEX9_H_ +#ifndef CREGEX_H_ +#define CREGEX_H_ /* - * cregex9.h + * cregex.h * * This is a extended version of regexp9, supporting UTF8 input, common * shorthand character classes, ++. @@ -79,8 +79,8 @@ int cregex_compile(cregex *self, const char* pattern, int cflags); int cregex_captures(cregex rx); /* return number of capture groups on success, or (negative) error code on failure. */ -int cregex_find(const cregex *self, const char* string, - size_t nmatch, cregmatch match[], int mflags); +int cregex_match(const cregex *self, const char* string, + size_t nmatch, cregmatch match[], int mflags); void cregex_replace(const char* src, char* dst, int dsize, int nmatch, const cregmatch match[]); |
