Returns with A z boundaries.
Returns:
with A z boundaries
8 9 10
# File 'lib/lockdown/helper.rb', line 8 def regex(string) Regexp.new(/\A#{string}\z/) end