mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
The previous regex was using the [ABC..D]*[ABC] pattern, resulting in a lot of backtracking. The new regex is stopping the matching at the first space or end of text (and removes the trailing `.` should one be present). The backtracking was taking around 50% of the CPU time spent in atom.Parse |
||
---|---|---|
.. | ||
media.go | ||
media_test.go |