[ticket/13389] Replace pattern with path

PHPBB3-13389
Merge pull request #3185 from Nicofuma/ticket/13389

[ticket/13389] Replace pattern with path
Merge branch 'develop-ascraeus' into develop