> If this still won't work on your file, could the file > be contaminated with some non-displaying characters > that appear to be whitespace but aren't? > Perhaps this would be worth a try: > /<issueList>[^<>]*<issue\W+code="[A-Z]{3}">(.*?)<\/issue>/m Still no go, William. I tried your last phrase there, too. -- Posted via http://www.ruby-forum.com/.