From: kazaam Date: 2007-10-01T21:05:06+09:00 Subject: regexpression: scanning a special charachters // ? Hi again, I need to parse a line like this here: myoverlook://thatstrue@blablabla I need at the end just thatstrue. So I wrote for the beginning: result = overlook.scan(/myoverlook://(.+?)\n/m) Of course this doesn't work because of the // which are special charachters in a regexpr. But how can I tell that they shoudln't be treated as specialcharachters? Is there an escape charachter? I tried it so: result = overlook.scan(/myoverlook:\/\/\(.+?)\n/m) but this throws an error: unmatched ): /myoverlook:\/\/\(.+?)\n/ What's the correct synthax for this? bye -- kazaam