YGrep Search Engine

Regular expression library/DLL
for approximative, Soundex and regular expressions


The YGrep Search Engine is a text search and replace library to be used with any kind of Windows application. It provides such unusual features as:

The YGrep Search Engine is also greatly improved other most similar tools by providing outstanding features like:


Based upon the features just described, the YGrep Search Engine appears as a needed library for all those that are developing:

The YGrep Search Engine will improve them to a level that most end-users will find very useful but that the developer may fear to implement because of the complexity of the algorithms involved.

All those applications can benefit from the addition of the search capability of the YGrep Search Engine (and specifically of the regular expressions).


Better quality

The YGrep Search Engine is truly tested software. It has been widely available and used since 1993. This means that you get a mature library in a stable state rather than a quick-and-dirty bunch of minimal features. Notably, several of the most widely available source code library are bug-ridden to a point that may appear surprising to most programmers.

Faster development

While some of the capabilties of the YGrep Search Engine may be written by most C/C++ developers, it is often overkill to re-invent the wheel (we have a full set of wheels ready for you :-). Furthermore, you certainly do not want to spend time debugging all this automaton code that you did not look into since you graduated out of the Computer Science course.

High performance and flexibility

The YGrep Search Engine offers a good compromise between performance and usability, where other products may sacrifice all ease-of-use to absolute performance (how do you get that performance if you have to dig into source code before being able to merely search for a string in a file?).

Actual support

Forget about difficulties in understanding the library interface. Registered users receive actual documentation (not only a few Unix cryptic man pages).

You will also receive actual help direct from the developer using E-mail, phone, or fax at your convenience.

Real commitment to customer satisfaction

As I am listening to your real needs, you can get a real support from real people.

Some of our Customers

The YGrep Search Engine has attracted Customers of all sizes appreciating its flexibiity and ease of use. Amoung the most well-known ones, most people will recognize a few very well-known companies characterized by the high-level of excellence they ask from their providers:

Like these top-flyers and many other smaller companies or individual entrepreneurs, you can get the YGrep Search Engine in your most business-critical applications.


If you want to download it, here are a few FTP servers you can use. I only tried to give as much variety as possible in order to avoid bottlenecks. These will be changed in the future to reflect distribution.

Get the YGrep Search Engine from the net

This one is the most recent version for WIN32S, Windows 95, Windows 98, Windows NT v4.0 and v5, Windows XP.

It is available locally as the YG705W95.ZIP file on

To get the slightly older version 7.04, you still can try the YG704W95.ZIP file. But, be remembered that the latest is the one that solves all the bugs. You should use this old link only if you have specifically problems with the newest (I do not always insure that I am not adding a few!)


The YGrep Search Engine is shareware. It it not Public Domain or Free. See the help file for shareware information and extensive description of the registration steps (including a number of registration sites accepting 800-calls or credit cards). If you cannot find the Help file and its registration forms, use the minimal form file ORDER.DOC and mail it with your payment to the address shown.

If you find the YGrep Search Engine useful, do the decent thing and register! In return you will receive (for a Single User license at 20 USD or 18 Euros):

When you register the full Developper Kit (for 295 USD or 289 Euros), you will ADDITIONALLY receive:

You can also register for a "lifetime" of upgrades for the price of 695 USD or 680 Euros.

credit cards

It's time to register!

My preferred registration means:

You can now register online. Just pick your one and click on the following links. My preferred server is currently the secure one from ShareIt! (payment possible in Euros). Just click on the following link:

Other available registration means:

You can also online with RegNet - The Registration NetworkRegNet - The Registration Network (secure server). Just click on the following links:


News for lovers of regular expressions and other search-and-replace's

Simplified registration process

I reduced the number of registration options. This should allow you to go easily to the more interesting option without having to compare too many different means. I suggest that you simply should prefer ShareIt!.

New e-mail addresses

The old address will soon no longer work.

Please, update your address list. You should now use the contact page.

The new v7.05d minor release is available

A bug in handling regular expressions including the $ (end of line) command at the end of a branch.

Registered users have been directly informed. Registered users of version 7.00 or later have received their instructions to get the latest code. If your in one of these cases and did not receive anything, please contact me.

European customers

As most of you are using the Euro as your only currency, I want to remind all of you that it is possible to pay registration of the YGrep Search Engine in Euros (on top of older possibilities like the USD). Just go to ShareIt!ShareIt.

This is reducing significantly the indirect bank costs (both for you and me).

The new v7.05c minor release is available

A bug in handling regular expressions including the ˆ (beginning of line) command. This bug only appeared when these regular expressions where used in association with

YGrepOptions(YO_EOLCR), YGrepOptions(YO_EOLLF), or YGrepOptions(YO_EOLCRLF). Its consequence was to discard the first character in the line when using the beginning-of-line feature, generating false matches and false mismatches.

Registered users have been directly informed. Registered users of version 7.00 or later have received their instructions to get the latest code. If your in one of these cases and did not receive anything, please contact me.

The web site has moved

if you want to follow us (and regular expression management) to our new web site, I have to insist that you use the permanent web address :

If you keep using this single address, you won't see a change while we move.

The new v7.05 release is available

...supports the {} numeric closure for regular expressions. It is possible to use a{10} to look for 10 times the character 'a', or [a-z]{8} for matching 8 lower case letters, or a{2,4} to look for 2, 3 or 4 times the character 'a', or [a-z]{1,2} for matching 1 or 2 lower case letters.

Additionnaly, I removed an obscure bug in closures used at the end of a pattern (only when used with YGrepOptions(YO_SHORTCLO), which was further limiting the consequences).

Finally, I also removed a bug stopping you from using the "[-]" form in regular expressions.

Registered users have been directly informed. Registered users of version 7.00 or later have received their instructions to get the latest code. If your in one of these cases and did not receive anything, please call me.

Regular expression applications

Sometimes, people want to know what the library regular expressions can be applied to. So, I decided to provide (for free) a few simple examples of regular expressions at work.

Internationalization of the YGrep Search Engine is significantly improved

As some of us know, we are not living in a world where all characters are included in the basic 7-bit ASCII character set. The YGrep Search Engine v7.04 improves other previous versions by adding a correct support of the Windows locales as they are defined by the user of the DLL/library. This mainly mean that "ignore case" options of the routines are now also taking into account the needs of accented letters of the ANSI character set used by Windows.

The shareware package is immediately available for download.

Registered users have been receiving the upgrade directly from me.

Previous users will notice that there is NO need to re-compile existing code in order to adapt to this new version. The Reference Manual has not even been updated at all for this release.

A few good books

I have found a few book you may want to buy from

Obfuscated C and Other Mysteries/Book-Disk (Wiley Professional Computing) by Don Libes, is a nice document for all those who wish they could be a good programmer in C and can afford a good dose of fun with bizarre C code from others. I love it!

Mastering Regular Expressions : Powerful Techniques for Perl and Other Tools (Nutshell Handbook) by Jeffrey E. F. Friedl, Andy Oram (Editor), is a very useful document for all users of regular expressions.

Programming Windows by Charles Petzold, is the basic book for anyone willing to program on the Microsoft Operating System. A must-read!

Advanced Windows Programming (Wiley Professional Computing) by Martin Heller, is - by far - my preferred book about writing real Windows applications. It may be a little old, but it still contains all the really important issues.

Developing International Software for Windows 95 and Windows NT seems to be a good book about internationalization and localization of programs.

Unlimited upgrades

Some customers have asked for the possibility to get a lifetime upgrade capability (paying once in order to get all subsequent upgardes). This is now possible. For a fee (695 USD or 680 Euros), you can get this lifetime upgradability of your YGrep Search Engine.

YGrep is rated 3 star (***)

The YGrep Search Engine (version 4 and 5) has been rated 3 stars by ZDnet

But, even nicer, ZDnet of South Africa (in its software library) has awarded its hot file of the day award to the YGrep Search Engine. Thanks to them.

Special bonuses to all visitors

As you've been patient enough to read down to here, I want to offer you a special bonus. From time to time, people ask for a specific routine I did not provide in the YGrep Search Engine: expansion of wild-chars in the file names.

I found this nice public domain and copyrighted package to those of you interested. It must not be used in commercial applications, but it can be useful.

If you can use it, just grab it (and remember that I do not provide support for it).


Also, we have been making freely available a description of the syntax of the regular expressions that we are using in the YGrep Search Engine.

For Delphi 2.0/3.0 users

Some Delphi users have been asking for a more complete package of test files than initially provided in the YGrep Search Engine.

Here is the small Delphi project which was the base of the files YGrepTst.PAS and YGrepInf.PAS you can find in the YGrep Search Engine ZIP files.

If you can use it, just grab it (and remember that I support the Engine, not this specific package).


One caveat:

One simple comment though. This project was made some time ago and it will be necessary to update it with the newest files extracted from the latest ZIP archive (YGrepTst.Pas, YGrepInf.Pas).

Copyright (c) 1999-2008 - Yves Roumazeilles (all rights reserved)

Latest update: 30-oct-08