Skip to content

Instantly share code, notes, and snippets.

@seivan
Created August 10, 2013 13:31
Show Gist options
  • Save seivan/6200451 to your computer and use it in GitHub Desktop.
Save seivan/6200451 to your computer and use it in GitHub Desktop.
id exp = [VRXVerbalExpression create:^(VRXVerbalExpression *r) {
r.startOfLine();
r.then(@"http");
r.maybe(@"s");
r.then(@"://");
r.maybe(@"www.");
r.anythingBut(@" ");
r.endOfLine();
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment