Fixed erroneous regex (fixes #181)