Author Topic: TPerlRegex test tool  (Read 7626 times)

0 Members and 1 Guest are viewing this topic.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
TPerlRegex test tool
« on: November 24, 2011, 10:45:27 pm »
I am developing an application which uses Regular expressions and I'm in a need to constantly test regex's I make so I thought that the most reliable way to see what is going on is to make a tool that uses the same library. This is how the tool was created.

TPerlRegex is the best Regex library for Delphi. Easy to use, it's fast and powerful. Basically it's a wrapper for PCRE 7.9.

For the application's exception handling thrown from the TPerlRegex I only made one catch block to remove the sound and still display the original message. Exception messaged are informative enough by themselves so I didn't bother re-writing them.

Little usage note: put your text into file called "source.txt" where this application is and the text will be loaded when program starts. Leave empty otherwise.

Compiled EXE: RegexTesterProj.exe
Project source: RegexTester.zip
TPerlRegex that I am using: TPerlRegEx.zip

Official website for TPerlRegex is: http://www.regular-expressions.info/delphi.html (scroll down)

« Last Edit: November 24, 2011, 10:47:34 pm by Kulverstukas »

PublicEnemy

  • Guest
Re: TPerlRegex test tool
« Reply #1 on: November 25, 2011, 11:41:16 am »

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: TPerlRegex test tool
« Reply #2 on: November 25, 2011, 11:50:03 am »
And what kind of engine does that website use?

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: TPerlRegex test tool
« Reply #3 on: November 26, 2011, 07:49:36 pm »
You are all wrong. This is my love: http://myregextester.com/
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline bubzuru

  • Knight
  • **
  • Posts: 395
  • Cookies: 21
  • everything is contained in the data
    • View Profile
    • New School Tools
Re: TPerlRegex test tool
« Reply #4 on: November 27, 2011, 01:25:13 am »
Damm it feels good to be gangsta
http://bubzuru.comule.com