Skip to content

Instantly share code, notes, and snippets.

@shiffman
Created October 4, 2012 20:26
Show Gist options
  • Save shiffman/3836206 to your computer and use it in GitHub Desktop.
Save shiffman/3836206 to your computer and use it in GitHub Desktop.
PVector regex
[source,java]
----
// I do not want to match this instance of PVector.
----
I want to match this instance of PVector.
[source,java]
----
// Do not match when PVector appears in here.
----
And this PVector. I want to match this PVector!
[source,java]
----
// But not PVector in here!
PVector v;
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment