summaryrefslogtreecommitdiffstats
path: root/lib/rexml/cdata.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:07:52 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:07:52 +0000
commit133acda96ef9f8d433e60131dd3e3830ab3e2907 (patch)
tree3b1e5703a76307ca4505b3afb12c561803e88140 /lib/rexml/cdata.rb
parent0433b52d481cf6d10c3255cde085b3406321676b (diff)
downloadruby-133acda96ef9f8d433e60131dd3e3830ab3e2907.tar.gz
ruby-133acda96ef9f8d433e60131dd3e3830ab3e2907.tar.xz
ruby-133acda96ef9f8d433e60131dd3e3830ab3e2907.zip
* lib/rexml/cdata.rb,lib/rexml/quickpath.rb,lib/rexml/parsers/baseparser.rb:
avoid warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/cdata.rb')
-rw-r--r--lib/rexml/cdata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/cdata.rb b/lib/rexml/cdata.rb
index a5e071b37..402a0187f 100644
--- a/lib/rexml/cdata.rb
+++ b/lib/rexml/cdata.rb
@@ -4,7 +4,7 @@ module REXML
class CData < Text
START = '<![CDATA['
STOP = ']]>'
- ILLEGAL = /(]]>)/
+ ILLEGAL = /(\]\]>)/
# Constructor. CData is data between <![CDATA[ ... ]]>
#