module Muwu::Helper::RegexpLib
Public Instance Methods
file_ext_haml()
click to toggle source
def regexp_path_relative_current
/\A.\//
end
def regexp_path_segmenter_fw_slash
/[\/\\]/
end
# File lib/muwu/helper/regexp_lib.rb, line 19 def file_ext_haml /.haml\z/i end
file_ext_md()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 24 def file_ext_md /.md\z/i end
haml_heading()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 29 def haml_heading /\A%h\d*/i end
haml_heading_plus_whitespace()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 34 def haml_heading_plus_whitespace /\A%h\d*\s*/i end
markdown_heading()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 39 def markdown_heading /\A#+/ end
markdown_heading_plus_whitespace()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 44 def markdown_heading_plus_whitespace /\A#+\s*/ end
metadata_key_date_of_this_edition()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 49 def metadata_key_date_of_this_edition /\Adate\s*of\s*this\s*edition/i end
not_alphanumeric_underscore_or_single_dot()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 54 def not_alphanumeric_underscore_or_single_dot /[^a-zA-Z0-9_\.]/ end
outline_contents()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 69 def outline_contents /\Acontents/i end
outline_metadata()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 59 def outline_metadata /\Ametadata/i end
outline_subcontents()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 74 def outline_subcontents /\Asubcontents/i end
outline_text()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 79 def outline_text /\Atext/i end
outline_text_plus_whitespace()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 84 def outline_text_plus_whitespace /\Atext\s+/i end
outline_title()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 89 def outline_title /\Atitle/i end
path_two_or_more_dots()
click to toggle source
# File lib/muwu/helper/regexp_lib.rb, line 94 def path_two_or_more_dots /\.{2,}/ end