We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The following code has 3 anti-patterns:
def self.tokens(pattern) pattern.scan(TOKEN).reject { |token| token =~ /\A#{SEPARATORS}\Z/ } end
This issue is to identify that /\A#{SEPARATORS}\Z/ should be isolated as a constant, since all it's dynamic components are constants.
/\A#{SEPARATORS}\Z/
See: rubocop/rubocop-ast#65