http://google-opensource.blogspot.com/2010/03/re2-principled-approach-to-regular.html http://code.google.com/p/re2/ If the license allows, it would be great to translate that to D and make it work with arbitrary ranges of arbitrary data... Andrei