Forum: Ruby Ruby RegEx

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ee6788c2faaad7a5cd0bc466c9ea60d8?d=identicon&s=25 aidy (Guest)
on 2009-04-13 19:01
(Received via mailing list)
Hi,

This may or may not be the correct group, but I am having serious
problems with the below regular expression.

xpath_test = "Payment Method: Visa
View purchased media: Click here
<http://xxx-ui-systest/Customer/ViewPurchases.aspx?...
-28e5-4427-bd9f-48996492c267>"

puts xpath_test
puts xpath_test.match(/<http:\/\/xxx-ui-systest\/Customer\/
ViewPurchases\.aspx\?Id=.*?>/)

Could anybody please help?

Thanks

Aidy
67dc1abbba7a268716560cae63067f2a?d=identicon&s=25 Cyriac Thomas (Guest)
on 2009-04-13 19:05
(Received via mailing list)
This should help
http://www.ruby-doc.org/core/classes/String.html#M000827
--
Cyriac Thomas Chittuthara
MEC CSA 2k10
www.tuxomaniac.co.nr
www.photoblog.com/cyriacsmail
www.twitter.com/cyriacthomas
E0d864d9677f3c1482a20152b7cac0e2?d=identicon&s=25 Robert Klemme (Guest)
on 2009-04-13 23:16
(Received via mailing list)
On 13.04.2009 18:59, aidy wrote:
> This may or may not be the correct group, but I am having serious
> problems with the below regular expression.

What problems?

  robert
This topic is locked and can not be replied to.