123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Markdown::Literals

Relationships & Source Files
Namespace Children
Exceptions:
Inherits: Object
Defined in: lib/rdoc/markdown/literals.rb

Constant Summary

Instance Method Summary

Instance Method Details

#_Alphanumeric

Alphanumeric = /pWord/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 356

def _Alphanumeric
  _tmp = scan(/\A(?-mix:\p{Word})/)
  set_failed_rule :_Alphanumeric unless _tmp
  return _tmp
end

#_AlphanumericAscii

AlphanumericAscii = /[A-Za-z0-9]/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 363

def _AlphanumericAscii
  _tmp = scan(/\A(?-mix:[A-Za-z0-9])/)
  set_failed_rule :_AlphanumericAscii unless _tmp
  return _tmp
end

#_BOM

BOM = “uFEFF”

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 370

def _BOM
  _tmp = match_string("uFEFF")
  set_failed_rule :_BOM unless _tmp
  return _tmp
end

#_Newline

Newline = /n|rn?|pZl|pZp/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 377

def _Newline
  _tmp = scan(/\A(?-mix:\n|\r\n?|\p{Zl}|\p{Zp})/)
  set_failed_rule :_Newline unless _tmp
  return _tmp
end

#_NonAlphanumeric

NonAlphanumeric = /p^Word/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 384

def _NonAlphanumeric
  _tmp = scan(/\A(?-mix:\p{^Word})/)
  set_failed_rule :_NonAlphanumeric unless _tmp
  return _tmp
end

#_Spacechar

Spacechar = /t|pZs/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 391

def _Spacechar
  _tmp = scan(/\A(?-mix:\t|\p{Zs})/)
  set_failed_rule :_Spacechar unless _tmp
  return _tmp
end

#setup_foreign_grammar

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals.rb', line 353

def setup_foreign_grammar; end