[BUGFIX] RequireOnceInExtensions only matches requires/includes with brackets

Resolves: #58710
Merge pull request #17 from MaxServ/master

[BUGFIX] RequireOnceInExtensions only matches requires/includes with bra...