Tests: Remove config checks for regularexpression


We have used QRegularExpression unconditionally in the library's sources
since 2018 and we also use them in the tests for qicon_svg so I don't
see a point in having the checks here.

Pick-to: 6.12 6.11
Change-Id: I74b7ac102d1c6386c1562951ee455799bceaf959
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit119515934f7031b5bdef5a4348f658c00792c85e
parentd5e13ab5c90dbca8d0582e856b45dee06cdba1fc
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeThu, 11 Jun 2026 20:30:06 +0000