discourse/lib/route_format.rb

12 lines
155 B
Ruby

# frozen_string_literal: true
module RouteFormat
def self.username
/[%\w.\-]+?/
end
def self.backup
/.+\.(sql\.gz|tar\.gz|tgz)/i
end
end