2021年4月24日星期六

how to match string exclude substring use re2

use re2 https://github.com/google/re2/wiki/Syntax

abc_abc_code  abc_titer_code  abc_google_twitter_code  abc_twitter_twitter_code  abc_google_google_google_google_code    abc_abc_app_code  abc_titer_app_code  abc_google_twitter_app_code  abc_twitter_twitter_app_code  abc_google_google_google_google_app_code  

abc_[a-zA-Z0-9_:]_app_code This can match last 5 string.

How to only match top 5 string?

https://stackoverflow.com/questions/67211042/how-to-match-string-exclude-substring-use-re2 April 22, 2021 at 06:00PM

没有评论:

发表评论