![](/img/trans.png)
[英]Regular expression to match a pattern either at the beginning of the line or after a space character
[英]regular expression: a pattern either before or after a symbol
我需要找到與以下模式匹配的行:A xx B xx,其中xx是在B之前或之后的模式。
您可以嘗試:
A (xx B|B xx)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.