S
Stanford Ng
puts( /^[a-z 0-9]*$/ =~ 'Well hello 123' ) # no match due to ^ and
uppercase 'W'
puts( /^[a-z 0-9]*/ =~ 'Well hello 123' ) # * zero (or more) matches at
start ^ = 0
i could barely understand why the existence of $ makes such a
difference.
any help?
uppercase 'W'
puts( /^[a-z 0-9]*/ =~ 'Well hello 123' ) # * zero (or more) matches at
start ^ = 0
i could barely understand why the existence of $ makes such a
difference.
any help?