From: Albert Schlef Date: 2009-03-10T16:17:38+09:00 Subject: Regexp problem I want to extract an "id" parameter from the URL. I use the following code: url = "http://example.com/id=12345" id = url[ /(?<=id=)(\d+)/ ] puts id But I get a SyntaxError telling me "undefined (?...) sequence". Why? -- Posted via http://www.ruby-forum.com/.