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 372

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 379

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 386

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 393

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 400

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 407

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 369

def setup_foreign_grammar; end