From: Jack Dempsey Date: 2002-01-12T15:43:42+09:00 Subject: RE: Another suggestion for FreeRIDE yeah, as i was pouring over david's response it all kinda hit me......... ahh well :-) twas a good idea.... jack -----Original Message----- From: dave@thomases.com [mailto:dave@thomases.com]On Behalf Of Dave Thomas Sent: Saturday, January 12, 2002 1:28 AM To: ruby-talk ML Subject: Re: Another suggestion for FreeRIDE "Jack Dempsey" writes: > Could you please elaborate? I just caught the "" bug, but otherwise it seems > to work correctly. I see how there could be problems in regex's, but did you > see something else? Unless you perform a pretty complete tokenization, you'll never really know what's a $-variable and what's a comment, or a string, or a regexp. Consider the following: a = [ $!, "$!", "#{$!}", "\#{$!}", %-$!-, %$!$ ] Only two of the $!'s would need to be converted. If FreeRide is going to include a parser, then it's definitely a good idea to have refactorings included, including pre-canned things like "rename Perl variables". But I don't think you'll be able to do it with regexps. Dave