I would appreciate a clue about regex variant forms.
In one text editor I use, removing bracketed footnotes like  and  from a text works well by finding with either of these expressions —
— but in another editor, only the first works, not the second.
These are different implementations? Is there some simple guide to knowing which forms to use in different settings, other than trial and error?