lib/facets/more/stateparser.rb in facets-1.8.20 vs lib/facets/more/stateparser.rb in facets-1.8.49
- old
+ new
@@ -40,11 +40,11 @@
# token's start and stop markers, instead reading it as raw text.
# Finally a unit token has no content, so a #stop method is not required,
# simply define the start #method to be used for matching.
#
# require 'yaml'
-# require 'facet/stateparser'
+# require 'facets/more/stateparser'
#
# s = "[p]THIS IS A [t][b]BOLD[b.]TEST[t.]&tm;[p.]"
#
# class XmlTagToken < StateParser::Token
# def self.start( match ) ; %r{ \[ (.*?) \] }mx ; end
@@ -512,10 +512,10 @@
# TODO
=begin #test
require 'yaml'
- require 'facet/string/regesc'
+ require 'facets/core/string/regesc'
s = %Q{MON[p]This is plain paragraph.[t][b]This bold.[b.]This tee'd off.[t.]&tm;[p.]KEY&tm;}
class MyMachine < StateMachine