regex bugfix