On Mon, Jun 28, 2010 at 11:42 AM,  <yout...@dev-hq.co.uk> wrote:
> I program in many languages, and that does not stand out to me.
> I know C++, Java, CSS, HTML, Lua, and Visual Basic; and that doesn't
> stand out to me. I assume that this is from a whole different category
> of programming/scripting languages; of which I don't know.
>
> Could you please explain to me how it works, and how I can use it in
> my personal scenario?

I think you need to just learn something about regular expressions.

   /wiki/(\w+)_\w+

"\w     A word character: [a-zA-Z_0-9]"

The above definition is taken from the API doc for `java.util.regex`  :-)
which also uses the same '+' quantifier and '( )' capture group syntax.

So there's nothing out of the ordinary here that a little regex study
shouldn't serve to enlighten...

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to