class Opal::Nodes::RegexpNode
def static_as_dynamic(value)
def static_as_dynamic(value) helper :regexp push '$regexp(["' push value.gsub('\\', '\\\\\\\\') push '"]' push ", '#{flags.join}'" if flags.any? push ")" end
def static_as_dynamic(value) helper :regexp push '$regexp(["' push value.gsub('\\', '\\\\\\\\') push '"]' push ", '#{flags.join}'" if flags.any? push ")" end