Update regexp to make warnings in WebStorm happier.