tailieunhanh - HandBooks Professional Java-C-Scrip-SQL part 34
Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 34', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | String and Text Processing Regular expressions are essential for solving a great number of pattern-matching problems. They are often used to process large strings find inexact substrings tokenize a string depending on some format or modify a string based on certain criteria. The lack of regular expressions support in C has sometimes forced users to look at other languages known for their powerful regular expression support such as Perl awk and sed. Regex provides efficient and powerful regular expression support designed on the same premises as the Standard Template Library STL which makes it intuitive to use. Regex has been accepted for the upcoming Library Technical Report. For more information see Library 5 Regex. The author of Regex is Dr. John Maddock. The Spirit library is a functional recursive-decent parser generator framework. With it you can create command-line parsers even a language preprocessor. 1 It allows the programmer to specify the grammar rules directly in C code using an approximation of EBNF syntax. Parsers are typically hard to write properly and when targeted at a specific problem they quickly become hard to maintain and understand. Spirit avoids these problems while giving the same or nearly the same performance as a hand-tuned parser. 1 The Wave library illustrates this point by using Spirit to implement a highly conformant C preprocessor. The author of Spirit is Joel de Guzman together with a team of skilled programmers. Boost. String_algo This is a collection of string-related algorithms. There are a number of useful algorithms for converting case trimming strings splitting strings finding replacing and so forth. This collection of algorithms is an extension to those in the C Standard Library. The author of String_algo is Pavol Droba. Boost. Tokenizer This library offers ways of separating character sequences into tokens. Common parsing tasks include finding the data in delimited text streams. It is beneficial to
đang nạp các trang xem trước