Bugfix: Deprecated pattern warning