# File lib/reginald/character.rb, line 29 def to_regexp Regexp.compile("\\A#{to_s(true)}\\Z", ignorecase) end