For example, this wasn't allowing to match '\beta\alpha' in the sequence '\alpha\beta\alpha', as in the accompanying regression test-case. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38883 a592a061-630c-0410-9148-cb99ea01b6c8