Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
how to view net http get response for a web spider tutorial
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Robert Klemme, post: 4513111"] Caret doesn't mean "from start" here. You probably overlooked the brackets. [^'&] is a character class and here "^" means "not", i.e. all characters that are not ' and not &. Basically this regexp extracts the value of HTTP parameter "user" from a URL or part of a URL. The backslash before the single quote is meaningless IMHO. Yes, $1 receives the value of the group. There are two groups, $1 receives the value of group 1 and $2 .... (left as excercise :-)). Yupp. In fact in the shell spaces *separate* arguments. :-) Kind regards robert [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
how to view net http get response for a web spider tutorial
Top