notroff 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/notroff/tokenize.rb +1 -1
- metadata +1 -1
data/lib/notroff/tokenize.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rexml/document'
|
|
3
3
|
module Tokenize
|
4
4
|
def tokenize_body_text( text )
|
5
5
|
text = text.dup
|
6
|
-
re = /\~\~.*?\~\~|\@\@.*?\@\@+|\{\{.*?\}\}
|
6
|
+
re = /\~\~.*?\~\~|\@\@.*?\@\@+|\{\{.*?\}\}|!!.*?!!|\^\^.*?\^\^/
|
7
7
|
results = []
|
8
8
|
until text.empty?
|
9
9
|
match = re.match( text )
|