This is a simple online quotes mismatch inspector that works for both single and double quotes. It works by break on quotes and numbering the them for quick visual inspection.
Quotes Mismatch Inspector
Paste your code here
CHECK NOW for mismatched quotes
Results
Original Mismatch Inspector
Goto my original post, it combines double and single quotes together.
Regex Mismatch Inspector
Goto my regex post
Check you code online
More common languages have lint tools;
Cut and paste
alert('Say Hello to my li'l friend"); \\single quote - error in Javascript
yieldsalert('Say Hello to my li'l friend
1. 1 "
); \\single quote - error in Javascript
Quotes Mismatch Inspector
Paste your code here
CHECK NOW for mismatched quotes
Results
- If you have even number of quotes then you are good.
- If you have odd number of quotes then you have a potential issue.
Original Mismatch Inspector
Goto my original post, it combines double and single quotes together.
Regex Mismatch Inspector
Goto my regex post
Check you code online
More common languages have lint tools;
- https://dotnetfiddle.net/ - .NET
- http://www.browxy.com/ - Java
- http://jshint.com/ - Javascript
- http://htmlhint.com/ - HTML
No comments:
Post a Comment