XQuery - 正則表示式



以下是 XQuery 提供的常用正則表示式函式列表

序號 名稱和描述
1

matches($input, $regex)

如果輸入與提供的正則表示式匹配,則返回 true。

2

replace($input, $regex, $string)

用給定的字串替換匹配的輸入字串。

3

tokenize($input, $regex)

返回與正則表示式匹配的專案序列。

廣告
© . All rights reserved.