Skip to content

Instantly share code, notes, and snippets.

@yannick
Created November 23, 2015 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yannick/4334e35e68497c0517db to your computer and use it in GitHub Desktop.
Save yannick/4334e35e68497c0517db to your computer and use it in GitHub Desktop.
import std.regex;
void main()
{
auto r2 = r"(?:\/[A-Za-z0-9\.]+)? *([A-Za-z0-9 _\!\[\]:]*(?:[Aa]rchiver|[Ii]ndexer|[Ss]craper|[Bb]ot|[Ss]pider|[Cc]rawl[a-z]*)) (\d+)(?:\.(\d+)(?:\.(\d+))?)?".regex();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment