Fixed regular expression assertions and added shorthands