rexml warning regexp ]

K

Kurt V. Hindenburg

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

O.K. I had enough of this warning.

/usr/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has
`]' without escape

http://www.ruby-talk.org/blade/84500

/lib/ruby/site_ruby/1.8/rexml/doctype.rb

Original:
source.match(/\s*]\s*>/um, true)
New:
source.match(/\s*\]\s*>/um, true)

The warning went away. I hope this is fixed in the next rexml
release. :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/wF6q0cAvx3ELfKARAuluAJ9brOwmQzghPwUmRh29ApQ+KPY+4gCdGCZK
UvAz9r/knYKA3Zb+gzGjHZs=
=+1iY
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,813
Members
47,357
Latest member
sitele8746

Latest Threads

Top