Skip to content

@Hamz-a /Reference - What does this regex mean.md secret
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Reference - What does this regex mean?

What is this?

This is a collection of common Q&A. This is also a Community Wiki, so everyone is invited to participate in maintaining it.

Why is this?

[tag:regex] is suffering from give me ze code type of questions and poor answers with no explanation. This reference is meant to provide links to quality Q&A.

What's the scope?

This reference is meant for the following languages: [tag:php], [tag:perl], [tag:javascript], [tag:python], [tag:ruby], [tag:java], [tag:.net].
This might be too broad, but these languages share the same syntax. For specific features there's the tag of the language behind it, example:

  • What are regular expression Balancing Groups? [tag:.net]

The list

Quantifiers:

Character classes:

Anchors:

Groups:

Lookaround:

Modifiers:

Escape sequence:

Other: not sure about the name ...

Control verbes: [tag:php] [tag:perl]

Recursion: [tag:php] [tag:perl]

Advanced regex-fu

@rschrieken

Should I leave comments or edit directly? if the latter: How?

@Hamz-a
Owner

You can fork it and then I will merge it.

@KyraD

How do you merge a gist?

@Hamz-a
Owner

@KyraD you can clone your gist on your disk, pull another (updated) gist and then push it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.