Lydia's blog
Every day to be a little better
Home
Archives
Search
ruby-match
Posted on
2018-12-25 18:35
1
2
str =
'产品xxx产品经理'
str.match(
/(产品)/
).size