Ruby:Regular Expression

From Progzoo
Jump to: navigation, search

A regular expression is a pattern which may match a string.

In this example the pattern (land|stan) matches land or stan. So Afghanistan and Finland match but Albania does not match.

[Font] [Default] [Show] [Resize] [History] [Profile]