Skip to content

Instantly share code, notes, and snippets.

@misiek08
Created October 18, 2017 19:40
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 misiek08/fd01946136c149a3e7950a9152fc4fb5 to your computer and use it in GitHub Desktop.
Save misiek08/fd01946136c149a3e7950a9152fc4fb5 to your computer and use it in GitHub Desktop.
basic, incomplete regex for parsing html tag arguments
\b([^\s=]+)=("((?:[^"\\]+(?:\\")?)+)"|'((?:[^'\\]+(?:\\')?)+)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment