The Artima Developer Community
Sponsored Link

Java Buzz Forum
Optimizing Regular Expressions

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Optimizing Regular Expressions Posted: Apr 10, 2008 3:36 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Optimizing Regular Expressions
Feed Title: JavaPerformanceTuning.com
Feed URL: http://www.javaperformancetuning.com/newsletters.rss
Feed Description: JavaPerformanceTuning.com lists all the information and resources available for Java performance tuning
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaPerformanceTuning.com

Advertisement
Jack Shirazi looks at optimizing the performance of java.util.regex regular expressions. For those of you looking for just the summary tips, they are: Explicitly compile; reuse the Matcher; use find; strip leading and trailing .*; use indexOf to rule out non-matching lines; watch out for very long lines.

Read: Optimizing Regular Expressions

Topic: links for 2008-04-05 from PeopleOverProcess.com Previous Topic   Next Topic Topic: If you like this blog, add me on your Twitter

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use