开发者

regular expression: a pattern either before or after a symbol

开发者 https://www.devze.com 2023-01-05 19:08 出处:网络
I need fin开发者_运维问答d a line matching a pattern like: A xx B xx, where xx is a pattern that is either before or after B.You may try:

I need fin开发者_运维问答d a line matching a pattern like: A xx B xx, where xx is a pattern that is either before or after B.


You may try:

A (xx B|B xx)
0

精彩评论

暂无评论...
验证码 换一张
取 消