dbremner / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
0 stars 0 forks source link

More regex problems #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter these lines in a program:

$_ = "vt100890 aeiou"
puts $_
$_.gsub!('890','981' )
puts $_

It seems regex is working when you use variable $_

2. When you run the program you do not get what you expect.
3.

What is the expected output? 
vt100890 aeiou
vt100981 aeiou

What do you see instead?
vt100890 aeiou 
vt1009 aeiou 

What version of the product are you using? 
.9

On what operating system?
Windows xp sp2

Please provide any additional information below.

Original issue reported on code.google.com by carlos.k...@gmail.com on 9 Apr 2008 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by peter.ka...@gmail.com on 7 Jun 2008 at 10:50