Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > rexml warning regexp ]

Reply
Thread Tools

rexml warning regexp ]

 
 
Kurt V. Hindenburg
Guest
Posts: n/a
 
      11-23-2003
-----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+4g CdGCZK
UvAz9r/knYKA3Zb+gzGjHZs=
=+1iY
-----END PGP SIGNATURE-----




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[regexp] How to convert string "/regexp/i" to /regexp/i - ? Joao Silva Ruby 16 08-21-2009 05:52 PM
REXML::Element.write is deprecated. See REXML::Formatters Phlip Ruby 0 01-15-2008 08:23 PM
rexml error - REXML::Validation Daniel Berger Ruby 2 10-12-2004 04:19 PM
rexml 2.5.8 warning Kurt V. Hindenburg Ruby 1 11-07-2003 07:57 PM
soap4r 1.4.8.1 with REXML 2.7.1 - no REXML::VERSION_MAJOR Damphyr Ruby 2 07-16-2003 09:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57