From: 7stud -- Date: 2009-08-27T19:06:03+09:00 Subject: Re: regexp which matches nothing? Joao Silva wrote: > How i can construct regexp, which will always matches nothing? > > For example: > > "xxxxxxx".match /my_special_regexp/ > => should be ALWAYS nil How about: re = /$a^/ -- Posted via http://www.ruby-forum.com/.