The pattern search, freshly implemented with T87455, shows on Special:AbuseFilter a column with a snippet of the searched pattern. That snippet was planned to have a character cap of 50 characters. However, I found a weird behaviour:
- Create a filter with a pattern like added_lines irlike 'xxxxxxxxxxxxxxxx'
- Perform a search (plain text, regex, whatever) for a
The snippet will show added_lines irlike 'xxxxxxx, which is 27 characters long.
This is due to a tiny math error in calculating what to show and where to cut.