java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic RegularExpressions (10 - 19 Apr 2004 - Main.sebastianp)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 23 to 23
 A comparison of the above libraries is available here http://www.oreilly.com/catalog/regex2/chapter/ch08.pdf

JUnit tests for regexes

Changed:
<
<
  • Use regex asserts for your application
  • Running test files for the regex implementation
>
>
  • Use regex asserts for testing your application
    • with the sun java 1.4 regex implementation
    • with Jakarta Regexp
    • with the regex implementation you want
  • Run test files for the regex implementation
 
    • Run your own testfiles
    • Run the Jakarta Regexp tests "docs/RETest.txt"
    • Run other implementation tests
Deleted:
<
<
Now (March 2004) only JUnit tests for Jakarta Regexes are implemented, if you are interested in other implementations, leave a note on that wiki: H&P Open Source Wiki
 
Added:
>
>
Please leave a note on the H&P Open Source Wiki
 Also See

 <<O>>  Difference Topic RegularExpressions (9 - 07 Apr 2004 - Main.asjf)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 20 to 20
 
Added:
>
>
A comparison of the above libraries is available here http://www.oreilly.com/catalog/regex2/chapter/ch08.pdf
 JUnit tests for regexes
  • Use regex asserts for your application
  • Running test files for the regex implementation

 <<O>>  Difference Topic RegularExpressions (8 - 29 Mar 2004 - Main.jwenting)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 36 to 36
 
Added:
>
>
Java Regular Expressions: Taming the java.util.regex Engine by Mehran Habibi at http://www.apress.com/book/bookDisplay.html?bID=177 for complete coverage of the java regex package.
 


 <<O>>  Difference Topic RegularExpressions (7 - 26 Mar 2004 - Main.sebastianp)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 10 to 10
 http://([a-z0-9-]+\.)+[a-z0-9-]+/[^\s#?]*(\?[^\s?#)+?(#[^\s?#)+?
Added:
>
>
Regex Implementations
 J2SE 1.4 supports regular expressions natively in the java.util.regex package. For earlier versions of Java, or for more choices, you can use:
Changed:
<
<
>
>
 
Changed:
<
<
Mastering Regular Expressions by Jeffrey Friedl at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).
>
>
JUnit tests for regexes
  • Use regex asserts for your application
  • Running test files for the regex implementation
    • Run your own testfiles
    • Run the Jakarta Regexp tests "docs/RETest.txt"
    • Run other implementation tests
Now (March 2004) only JUnit tests for Jakarta Regexes are implemented, if you are interested in other implementations, leave a note on that wiki: H&P Open Source Wiki
 Also See
Added:
>
>
Mastering Regular Expressions by Jeffrey Friedl at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).
 
Line: 29 to 41
 

Discussion about RegularExpressions

Deleted:
<
<

 <<O>>  Difference Topic RegularExpressions (6 - 02 Sep 2003 - Main.redwolf)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 21 to 21
 Mastering Regular Expressions by Jeffrey Friedl at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).

Also See

Changed:
<
<
Using Regular Expression Groups
>
>
 


 <<O>>  Difference Topic RegularExpressions (5 - 31 Aug 2003 - Main.redwolf)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 10 to 10
 http://([a-z0-9-]+\.)+[a-z0-9-]+/[^\s#?]*(\?[^\s?#)+?(#[^\s?#)+?
Changed:
<
<
J2SE 1.4 supports regular expressions natively in the java.util.regex package. For earlier versions of Java, or for more choices, you can use:
>
>
J2SE 1.4 supports regular expressions natively in the java.util.regex package. For earlier versions of Java, or for more choices, you can use:
 
Line: 19 to 20
 Mastering Regular Expressions by Jeffrey Friedl at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).
Added:
>
>
Also See

Using Regular Expression Groups

 


 <<O>>  Difference Topic RegularExpressions (4 - 29 Aug 2003 - Main.mmascolino)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 17 to 17
 
Changed:
<
<
Mastering Regular Expressions at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).
>
>
Mastering Regular Expressions by Jeffrey Friedl at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).
 


 <<O>>  Difference Topic RegularExpressions (3 - 23 Jul 2003 - Main.arahn)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 12 to 12
 J2SE 1.4 supports regular expressions natively in the java.util.regex package. For earlier versions of Java, or for more choices, you can use:
Changed:
<
<
>
>
 

Mastering Regular Expressions at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).


 <<O>>  Difference Topic RegularExpressions (2 - 12 Jun 2003 - Main.arittner)
Line: 1 to 1
 
Home | Help | Changes | Index | Search | Go

RegularExpressions

Line: 15 to 15
 
Added:
>
>
 Mastering Regular Expressions at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).

 <<O>>  Difference Topic RegularExpressions (1 - 09 Jun 2003 - Main.dgabriel)
Line: 1 to 1
Added:
>
>
Home | Help | Changes | Index | Search | Go

RegularExpressions

Regular expressions are common in many programming languages and Unixish utilities and provide a way to describe the format of text strings. You can write a pattern and then see if a string matches it, or look for all matches, or replace them all with something else, and so on. Here is an example of a regular expression matching typical (but not all) HTTP URLs with optional query strings and fragments:

http://([a-z0-9-]+\.)+[a-z0-9-]+/[^\s#?]*(\?[^\s?#)+?(#[^\s?#)+?

J2SE 1.4 supports regular expressions natively in the java.util.regex package. For earlier versions of Java, or for more choices, you can use:

Mastering Regular Expressions at http://www.oreilly.com/catalog/regex2/ is a good introduction and covers advanced usage, including Java (this chapter is available online).



Discussion about RegularExpressions


Topic RegularExpressions . { View | Diffs r10 < r9 < r8 < r7 | More }
 XML java.net RSS