123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Markdown::Literals

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

Constant Summary

Instance Method Summary

Instance Method Details

#_Alphanumeric

Alphanumeric = /pWord/

[ GitHub ]

  
# File 'lib/rdoc/markdown/literals_1_9.rb', line 371

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_1_9.rb', line 378

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_1_9.rb', line 385

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_1_9.rb', line 392

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_1_9.rb', line 399

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_1_9.rb', line 406

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_1_9.rb', line 368

def setup_foreign_grammar; end