How to tell if a regex match is on the same line or before or after?

后端 未结 0 1267
借酒劲吻你
借酒劲吻你 2020-12-15 07:45

Is there a way to tell if a regex match is on the same line or if there is content before and after?

For example, if I have this string:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题