At 2009-07-16 08:59PM, "David A. Black" wrote: > On Fri, 17 Jul 2009, BrendanC wrote: > > $(?<!\.html) # <---- this seems to work with other engines > > I would probably do: > > lines.reject {|line| line =~ /html$/ } Is the Ruby regular expression syntax documented anywhere? I was attempting to use a look-behind, but it's not supported. The syntax is not documented in the RegExp rdocs, and I haven't seen a site that spells out all the nitty-gritty details and pokes into the dark corners. I'm looking for the Ruby equivalent of: http://www.tcl.tk/man/tcl8.5/TclCmd/re_syntax.htm http://docs.python.org/library/re.html#regular-expression-syntax http://perldoc.perl.org/perlre.html Does it exist? -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous