RE 2

  The primary goal of using re for me is making a web scrape , so the latter function can fit my requirements very well.

   (string/num).*?(str/num)

.*Match the contents of the previous and rear text ,?Complete with the less content

so .*? inertia matchinng

.* greedy matching

posted on 2023-08-14 13:39  prayerto  阅读(32)  评论(0)    收藏  举报