Ruby | Regexp fixed_encoding?() function
Regexp#fixed_encoding?() : fixed_encoding?() is a Regexp class method which checks whether the regular expression is applicable to a string with any ASCII compatible encoding. Syntax: Regexp.force_encoding?() Parameter: Regexp values Return: true - if the rxp is applicable to a string with any ASCII