Share your knowledge at the LQ Wiki.
Go Back > Articles > Advocacy
User Name


By Anonymous at 2006-12-09 05:44
Many programmers who've done a degree of text processing within their programs would surely have come across regular expressions from time to time. Regular expressions, being a really powerful way to do pattern-matching in text, offers an extremely flexible technique of parsing text. However, they can be pretty daunting to new programmers. Regular expression syntax is not particular readable or easy to understand and the degree of complexity can vary from extremely simple to unimaginably complex.

KRegExpEditor is an extremely easy-to-use visual aid which helps programmers construct regular expressions and validate them with text patterns. It comes with the kdeutils package and is often hidden away in a submenu under utilities. This is also a great learning tool for programmers to get a fundamental idea about how reg exp works.

The one thing that is not too obvious to me (as I'm not an expert on regular expressions) is whether KRegExpEditor produces POSIX or Perl compatible regular expressions (I *think* it produces POSIX regular expressions though I'm not 100% sure).




All times are GMT -5. The time now is 01:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration