Non-capturing group

Pattern Meaning
on(?:click|load) Faster than: on(click|load)
Use non-capturing or atomic groups when possible
Comments