View Single Post
Old 05-10-2023, 07:14 AM   #2
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
sigil regex has opinion 'dot all' for let dot match all characters, including '\n'. With this opinion you can search across lines.
But use `<div class="foo">(.*?)</div>` is not a good idea, for there are situations like `div ... div ... /div ... /div`
The_book is offline   Reply With Quote