module TextUtils

fix: move to filter!!!!

follows   fn( content ) pattern!!!

match numbers (units)

e.g  km_squared, abv, etc.

page template class for book production w/ markdown

and static site compiler (e.g. jekyll)

todo: move filters to filter for public reuse!!!

todo/check:

  remove - use TitleMapper instead
deprecated/obsolete - do NOT use will get removed

auto-include methods

fix: turn it into a class w/ methods

e.g t =TitleMapper.new( records, name ) # e.g. name='team'

 t.map!( line )
 t.find_key!( line )
etc.

see textutils/title.rb

for existing code
move over here

Constants

COMMENT_LINE_ALT_II_PATTERN
COMMENT_LINE_ALT_PATTERN
COMMENT_LINE_HASKELL_PATTERN
COMMENT_LINE_PATTERN

Start of Line Comment Patterns

COMMENT_LINE_TEX_PATTERN
DD_STRICT_PATTERN
D_STRICT_PATTERN
EMPTY_LINE_PATTERN

about ruby regexps

try the rubular - Ruby regular expression editor and tester

-> http://rubular.com
 code -> ??  by ??

Jeff Avallone's Regexper - Shows State-Automata Diagrams

try -> http://regexper.com
  code -> https://github.com/javallone/regexper

Regular Expressions | The Bastards Book of Ruby by Dan Nguyen

ruby.bastardsbook.com/chapters/regexes/

move to notes regex|patterns on geraldb.github.io ??

EOL_COMMENT_PATTERN

End of Line (EOL) Comment Patterns

MAJOR
MINOR
MM_STRICT_PATTERN
M_STRICT_PATTERN
PATCH
VERSION
YYYY_STRICT_19_20_PATTERN
Dates

some info at www.regular-expressions.info/dates.html

YYYY_STRICT_20_PATTERN

Public Class Methods

banner() click to toggle source
root() click to toggle source
# File lib/textutils/version.rb, line 18
def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end
version() click to toggle source
# File lib/textutils/version.rb, line 10
def self.version
  VERSION
end