Steps to replicate the issue (include links if applicable):
- Enable 'Apply general fixes'.
- Add a random 'Find and replace' (I used FIND \{\{ *(d|D)ate( de naissance| de décès)*- *\|([^\}]*)\| *(en|à|aux*|dans|par) [^\|\}]* REPLACE {{$1ate$2|$3, but it doesn't seem to matter).
- Edit a page with a template containing a single closing curly bracket (e.g. this version of a page, the lonely curly bracket is in the infobox title : Kommunioun}).
What happens?:
AWB adds another curly bracket that closes the template too early, breaking it (e.g. this edit )
What should have happened instead?:
AWB should remove that lonely curly bracket, or leave it alone for another bot.
A check of missing openning or closing double curly brackets should be made before and after the change.
Other information (browser name/version, screenshots, etc.):
I used it on a tabletop PC with Windows 10 and Firefox 142.0.1 (64 bits), but I don't think it matters.