Last active
March 10, 2016 16:38
-
-
Save ryanguill/116297330b1b1dd5a960 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[\s#]+session[.\[]+[^\s] | |
better from choop: \bsession[.\[][^\s]+ | |
tests: | |
dontmatchsession.x | |
session.foo | |
#session.foo | |
session["foo"] | |
session[foo] | |
session.#something# | |
session. dont match | |
<cfset dontmatchsession.x | |
<cfset session.foo | |
<cfset #session.foo | |
<cfset session["foo"] | |
<cfset session[foo] | |
<cfset session.#something# | |
<cfset session. dont match |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment