YuPcre2

Delphi Inspiration

Components and Applicationss

YuPcre2

YuPcre2 is a library of Delphi components and procedures that implement regular expression pattern matching using the same syntax and semantics as Perl, with just a few differences.

There are two matching algorithms, the standard Perland alternative DFA algorithm:

  • The Perl algorithm  is what you are used to from Perl and  JavaScript. It is fast and supports the complete pattern syntax. You  will likely be using it most of the time.
  • DFA is a  special purpose algorithm. If finds all possible matches and, in  particular, it finds the longest. It never backtracks and supports  partial matching better, in particular multi-segment matching of very  long subject strings.

YuPcre2 has native interfaces for 8-bit, 16-bit, and 32-bit strings. Component wrappers are available for UnicodeString / WideString and AnsiString / Utf8String / RawBytestring:

Component String Types Comment
TDIPerlRegEx2_16.png TDIPerlRegEx2_16 16-bit strings:
UnicodeString, WideString
Full UTF-16 Unicode processing if coUtf CompileOption set.
TDIDfaRegEx2_16.png TDIDfaRegEx2_16
TDIPerlRegEx2_8.png TDIPerlRegEx2_8 8-bit strings:
AnsiString, RawByteString, Utf8String
Full UTF-8 Unicode processing if coUtf CompileOption set.
TDIDfaRegEx2_8.png TDIDfaRegEx2_8

Search Stream Demo ApplicationThe YuPcre2 RegEx2 classes descend from common ancestors which implement the core functionalities:

  • Match strings  and and extract full  or substring matches.
  • Search for  regular expressions within streams and memory buffers.TDIRegExSearchStream descendants  employ a buffered search within streams and files (of virtually  unlimited size) and use little memory.
  • Replace full  matches or partial substrings.
  • List full  matches or partial substrings.
  • Format full  matches or partial substrings by adding static or dynamic text.

Users familiar with the DIRegEx might be interessted in thedifferences between YuPcre2 and DIRegEx.

 

 Website: http://www.yunqa.de/


Tags :

Download...



 

آمارگیر وبلاگ


exirbox
exirbox.comhttp://exirbox.com/http://www.exirbox.com/http://www.exirbox.comrad studio xe 8twain toolkit v4.1ditidywww.exirbox.comunigui 0.99 crackhttp://www.exirbox.com/post/38exirbox delphiexirbox.irerik box crack mydac d7خرید برنامه rad studiopaxcompiler.v.4.2.fs.rarnrcommrad studio 10.1 berlin crackhttp://www.exirbox.com/post/6jqueryxe10 upd1http://www.exirbox.com/post/67http://www.exirbox.com/post/73pdfhttp://www.exirbox.com/post/59rad studio xe10rave reports xe7trichviewsecureblackbox xe7delphi xe10http://exirbox.com/post/73dicom vcl downloadhttp://exirbox.com/post/208crack rad xe10wptools 7 crackrad studio 10 seattle crackwww.exibox.comxlsspreadsheetzylgsm full crackkbmmemtable