Installation
Quick Take
Examples
- Detect a JSP page directive
- Detect a JSP action tag
- Detect an expression that refers to a JSP property
- Reject HTML without JSP syntax
- Detect a JSP Standard Tag Library tag
API — isJSP()
The main function isJSP() is imported like this:
It’s a function which returns a RegExp object, /.../g, which you can use everywhere, for example, in RegExp.prototype.exec() or String.prototype.match().
API — version
You can import version: