Skip to content

Latest commit

 

History

History
55 lines (53 loc) · 772 Bytes

README.md

File metadata and controls

55 lines (53 loc) · 772 Bytes

regexp-demo

This is a regexp demo for javascript, you can learn RegExp from next list.
You can submit code that you think it's useful for others.
And you also can submit issue if you have a problem with RegExp

install

npm install regexp-match

test

mocha

API

singleQuotes

Match single quotes

'a',
'a\'a',
'a\\'

doubleQuotes

Match double quotes

htmlStartTag

Match html start tag

<div>
<div class="cls">

htmlEndTag

Match html end tag

</div>

blockComment

/* block comment */

lineComment

// line comment

email

liaowei08@gmail.com

ip

10.2.240.8

url

http://127.0.0.1:5389/webapp