//parse_url
/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/
//ignore case, the other two flags are 'g', 'm'
/^abc$/i
"into".match(/in|int/)
\d is same as [0-9], \D is same as [^0-9]
\s is same as[\f\n\r\t...], \S is same as[^...]
\w is same as [0-9A-Z_a-z]
// \1 is a reference to group 1, \2 to group2
/([A-Za-z]+)\s+\1/
//regexp class
[aeiou]
//quantifier
/w{3}/
/w{3,6}/
/w{3,}/
var m = "wwwwdddd".match(/(w{3,})(d+)/);
m should be an array ["wwwwdddd", "wwww", "dddd"]
分享到:
相关推荐
一大堆java基础类的小例子<br>java.applet [8 examples] <br>java.awt [78 examples] <br>java.awt.datatransfer [3 examples] <br>java.awt.dnd [3 examples] <br>java.awt.event [8 examples] <br>java.awt.font ...
<artifactId>poi-examples</artifactId> <version>3.17</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-excelant</artifactId> <version>3.17</version> </...
1. mvn-examples-1.0 <modules> <module>ch03-simple</module> <module>ch04-custom</module> <module>ch05-simple-web</module> <module>ch06-multi</module> <module>ch07-multi-spring</module> <module>ch...
<script language="JavaScript">var when=new Date(); document.write("<h4>"); document.write(when.getYear()+"年"); document.write((when.getMonth()+1)+"月"); document.write(when.getDate()+...
Conclusion <br>730 <br>References <br>732 <br>Appendix A Measurement Conversion Tables <br>735 <br>Appendix <br>B Physical Constants <br>737 <br>Appendix <br>C Index of Professional Organizations <br...
Conclusion <br>730 <br>References <br>732 <br>Appendix A Measurement Conversion Tables <br>735 <br>Appendix <br>B Physical Constants <br>737 <br>Appendix <br>C Index of Professional Organizations <br...
Examples:</p> <nav class="codrops-demos"> <a class="current-demo" href="index.html">Login/Signup</a> <a href="index2.html">Terms</a> <a href="index3.html">Info Overlay</a> <a href=...
<module>flink-examples</module> <module>flink-clients</module> <module>flink-container</module> <module>flink-queryable-state</module> <module>flink-tests</module> <module>flink-end-to-end-tests...
Input/Output Using Stream Classes<br/><br/>13.1 Common Background of I/O Streams<br/><br/>13.2 Fundamental Stream Classes and Objects<br/><br/>13.3 Standard Stream Operators << and >><br/><br/>13.4 ...
<br><br><br>安装和配置jdk6.0和tomcat6.0<br><br><br><br>调试(jsp):<br><br><br><br>1.到Tomcat的安装目录的webapps目录,可以看到ROOT,examples, tomcat-docs之类Tomcat自带的的目录.<br><br><br><br>2.在...
Topics include:<br><br><br>Object-oriented PHP<br><br><br>Networking<br><br><br>String manipulation<br><br><br>Working with files<br><br><br>Database interaction<br><br><br>XML<br><br><br>Multimedia ...
<h1>3D Rotating Carousel Examples</h1> <h2>Three images</h2> <div class="carousel"> <figure> <img > <img > <img > </figure> <nav> <button class="nav prev">Prev</button> <button class="nav ...
The Scheme<br>Programming Language<br><br>... Multitasking with Engines <br><br>Bibliography<br><br>Answers to Selected Exercises<br><br>Formal Syntax of Scheme<br><br>Summary of Forms<br><br>Index<br>
Designing Embedded Hardware includes:<br><br><br>The theory and practice of embedded systems<br><br><br>Understanding schematics and data sheets<br><br><br>Powering an embedded system<br><br><br>...
Proguard4.2.zip(java编码混淆器)<br>doc是4.0的doc<br>jar包是1.4.2<br><br><br>ProGuard, Java class file shrinker, optimizer, and obfuscator<br>===========================================================...
The 80x86 MOV Instruction<br>4.8 - Some Final Comments on the MOV Instructions<br><br>4.9 Laboratory Exercises<br>4.9.1 The UCR Standard Library for 80x86 Assembly Language Programmers<br>4.9.2 ...
span--></li><li><a href="https://dash.readme.io/#scroll-pricing" class="scroll">Pricing<span></span></a></li><li><a href="https://dash.readme.io/#scroll-examples" class="scroll">Examples<span></span>...
Second-Harmonic Peaking 379<br>10.8.2 Variation on Class F: Quarter-Wave<br>Transmission Line 379<br>10.9 Class G and H Amplifiers 381<br>10.10 Class S Amplifiers 383<br><br>xiv Radio Frequency ...
millisec.zip<br>Count Time in Milliseconds <END><br>60,getday.zip<br>Get the Day of Week that a Day Falls On<END><br>61,shellend.zip<br>Notify the User when a Shelled Process Ends <END><br>62,varlist....
<artifactId>mybatis-mate-starter</artifactId> <version>1.2.4</version> </dependency> 注解(实体分包使用) <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-mate-annotation</...