Regular Expression Pocket Reference: Regular Expressions for by Tony Stubblebine

By Tony Stubblebine

Attempting to bear in mind the subtleties of all the varied implementations of regex isn't any longer an issue with this round. Whip it out and immediately you have entry to all the meta-characters, etc., etc., etc.

What extra am i able to say?

Show description

Read or Download Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) PDF

Best programming: programming languages books

Prototype and Scriptaculous: Taking the Pain out of JavaScript

This brief lower demonstrates how one can use Prototype for a variety of initiatives, together with occasion dealing with, DOM processing, string and shape procedure, and Ajax communications. It explores Scriptaculous' visible results library, from pulsate to squish to fold and past. desire interface parts? you can find shape autocompletion in addition to drag and drop help.

Fast Track to Sun Certified Java Program

If you would like to benefit the hot gains in Java SE five. zero and move the solar qualified Java Programmer improve examination (CX-310-056), then this ebook is for you. It covers the entire Java SE five. zero new beneficial properties required within the examination. you do not need to examine the prevailing beneficial properties that you just already comprehend. 117 evaluation questions and ridicule examination questions are integrated.

Extra resources for Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

Sample text

N name {n} n {n,} n {x,y} x y *? +? {n,}? n {x,y}? x y $1, $2, ... ${name} $ $& $` $+ $_ System. value Groups public Match NextMatch( ) Match public virtual string Result(string result) result public static Match Synchronized(Match inner) Match inner public bool Success public string Value public int Length public int Index \w \d \s ECMAScript Thread. CurrentCulture CultureInvariant Is //Find Spider-Man, Spiderman, SPIDER-MAN, etc. IsMatch(dailybugle, regex, RegexOptions. IgnoreCase)) { //do something } } } //Match dates formatted like MM/DD/YYYY, MM-DD-YY,...

N name {n} n {n,} n {x,y} x y *? +? {n,}? n {x,y}? x y $1, $2, ... ${name} $ $& $` $+ $_ System. value Groups public Match NextMatch( ) Match public virtual string Result(string result) result public static Match Synchronized(Match inner) Match inner public bool Success public string Value public int Length public int Index \w \d \s ECMAScript Thread. CurrentCulture CultureInvariant Is //Find Spider-Man, Spiderman, SPIDER-MAN, etc. IsMatch(dailybugle, regex, RegexOptions. IgnoreCase)) { //do something } } } //Match dates formatted like MM/DD/YYYY, MM-DD-YY,...

N,}? n {x,y}? (condition ... (condition ... condition array preg_grep (string pattern array input) input pattern int preg_match_all (string pattern string subject array matches int flags ) pattern subject matches matches n matches n matches[7][3] pattern subject PREG_SET_ORDER matches PREG_SET_ORDER matches PREG_ OFFSET_CAPTURE subject int preg_match (string pattern string subject matches int flags ) pattern subject matches matches[0] PREG_OFFSET_CAPTURE array matches string preg_quote (string str [, string delimiter]) str delimiter str mixed preg_replace_callback (mixed pattern callback callback mixed subject int limit ) subject pattern callback limit limit pattern callback subject mixed preg_replace (mixed pattern mixed replacement mixed subject , int limit ) subject pattern replacement limit limit $n pattern pattern replacement /e \n replacement replacement replacement subject array preg_split (string pattern string subject , int limit , int flags ) pattern limit preg_split( ) limit limit PREG_SPLIT_NO_EMPTY PREG_SPLIT_DELIM_CAPTURE PREG_SPLIT_OFFSET_CAPTURE subject //Find Spider-Man, Spiderman, SPIDER-MAN, etc.

Download PDF sample

Rated 4.51 of 5 – based on 29 votes