1 regular greedy
Belonging greedy quantifiers, also known greedy quantifiers, comprising:
"?" "{M, n-}", "{m,}",, "*" and "+."
Non-greedy
"{M, n}?", "{M,}?", "??", "*?" And "+?."
2 notepad ++ match a single kanji
[\x{4e00}-\x{9fa5}]
[^ \ X {4e00} - \ x {9fa5}] // characters other than
Regular expressions exclude a string line
^(?!.*trigger\(".+"\)).*$
reference:
1 https://www.cnblogs.com/520yang/articles/7473596.html
2 https://blog.csdn.net/xuyangxinlei/article/details/81359366