XQuery - 正则表达式



以下是 XQuery 提供的常用正则表达式函数列表

序号 名称和描述
1

matches($input, $regex)

如果输入与提供的正则表达式匹配,则返回 true。

2

replace($input, $regex, $string)

用给定的字符串替换匹配的输入字符串。

3

tokenize($input, $regex)

返回与正则表达式匹配的项目序列。

广告
© . All rights reserved.