From: Michael N. <mne...@us...> - 2003-06-10 21:40:23
|
Update of /cvsroot/ruby-dbi/src/lib/dbi In directory sc8-pr-cvs1:/tmp/cvs-serv7801 Modified Files: sql.rb Log Message: fixed SQL tokenizer bug: single slashes are preserved Index: sql.rb =================================================================== RCS file: /cvsroot/ruby-dbi/src/lib/dbi/sql.rb,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- sql.rb 16 May 2003 09:43:05 -0000 1.15 +++ sql.rb 10 Jun 2003 21:40:16 -0000 1.16 @@ -152,6 +152,7 @@ | - (?# matches single "-" ) | /[*] .*? [*]/ (?# matches C-style comments ) + | / (?# matches single slash ) | ' ( [^'\\] | '' | \\. )* ' (?# match strings surrounded by apostophes ) | |