Minor regex bug