fantasycalendar / obsidian-fantasy-calendar

MIT License
176 stars 8 forks source link

Updated regex for Obisidian Timeline event search #84

Closed EmiliaEaste closed 1 year ago

EmiliaEaste commented 1 year ago

Updated regex for Obisidian Timeline event search to allow for new line characters

EmiliaEaste commented 1 year ago

This fix should also resolve #69

valentine195 commented 1 year ago

What does (?s:) do? I’ve never actually seen that before! Is that making the dot match new lines, like the s flag?

EmiliaEaste commented 1 year ago

What does (?s:) do? I’ve never actually seen that before! Is that making the dot match new lines, like the s flag?

I actually made a mistake, having not worked with regex in a while I used syntax for a non-capture group. Fixed in a new commit along with another issue. See new PR :D