1 Star 0 Fork 5.4K

How / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
regex-h.md 3.59 KB
一键复制 编辑 原始数据 按行查看 历史
[yang] 提交于 2020-12-12 14:19 . Description: update docs 20201212

regex.h

Overview

Related Modules:

UTILS

Description:

Provides common functions for operating regular expressions.

You can use functions provided in this file to perform operations on regular expressions during development.

Since:

1.0

Version:

1.0

Summary

Functions

Function

Description

regcomp (regex_t *preg, const char *regex, int cflags)

int

Compiles a specified regular expression into a string of a specific format.

regexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)

int

Matches a regular expression.

regfree (regex_t *preg)

void

Releases a regular expression.

regerror (int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)

size_t

Returns a string containing error information.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mike-mei/docs.git
git@gitee.com:mike-mei/docs.git
mike-mei
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891