jQuery in Action, 2nd edition*
The moose likes Oracle/OAS and the fly likes Oracle Regular Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Oracle Regular Expressions" Watch "Oracle Regular Expressions" New topic
Author

Oracle Regular Expressions

Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1659
    
  11

I'm studying for "Oracle Database SQL Expert". There is a whole section about regular expressions:
Regular Expression Support
[ ] Using Meta Characters
[ ] Regular Expression Functions
[ ] Replacing Patterns
[ ] Regular Expressions and Check Constraints


Are these the same regular expressions used in Java? If not, how do they differ?

Thanks


When you do things right, people won't be sure you've done anything at all.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Oracle's regular expressions are based on the POSIX Extended Regular Expressions (ERE). Java adds more functionality to it, but I think the basic syntax is the same. You'll find some comparative information here.


[My Blog]
All roads lead to JavaRanch
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1659
    
  11

Thanks a lot!
 
 
subject: Oracle Regular Expressions
 
Similar Threads
Strings replaceAll()
xs:pattern meaning
criteriaFind() doubt
replaceAll()
substr in oracle