Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.842.502 Times

YAPE::Regex::Element 3.03

  Date Added: September 26, 2010  |  Visits: 719


Report Broken Link
Printer Friendly Version

Product Homepage
Download (75 downloads)

YAPE::Regex::Element contains sub-classes for YAPE::Regex elements. SYNOPSIS use YAPE::Regex MyExt::Mod; # this sets up inheritence in MyExt::Mod # see YAPE::Regex documentation YAPE MODULES The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable. Methods for YAPE::Regex::Element This class contains fallback methods for the other classes. my $str = $obj->text; Returns a string representation of the content of the regex node itself, not any nodes contained in it. This is undef for non-text nodes. my $str = $obj->string; Returns a string representation of the regex node itself, not any nodes contained in it. my $str = $obj->fullstring; Returns a string representation of the regex node, including any nodes contained in it. my $quant = $obj->quant; Returns a string with the quantity, and a ? if the node is non-greedy. The quantity is one of *, +, ?, {M,N}, or an empty string. my $ng = $obj->ngreed; Returns a ? if the node is non-greedy, and an empty string otherwise. Methods for YAPE::Regex::anchor This class represents anchors. Objects have the following methods: my $anchor = YAPE::Regex::anchor->new($type,$q,$ng); Creates a YAPE::Regex::anchor object. Takes three arguments: the anchor (^, A, $, Z, z, B, b, or G), the quantity, and the non-greedy flag. The quantity should be an empty string. my $anc = YAPE::Regex::anchor->new(A, , ?); # /A?/ my $type = $anchor->type; Returns the string anchor. Methods for YAPE::Regex::macro This class represents character-class macros. Objects have the following methods: my $macro = YAPE::Regex::macro->new($type,$q,$ng); Creates a YAPE::Regex::macro object. Takes three arguments: the macro (w, W, d, D, s, or S), the quantity, and the non-greedy flag. my $macro = YAPE::Regex::macro->new(s, {3,5}); # /s{3,5}/ my $text = $macro->text; Returns the macro. print $macro->text; # s my $type = $macro->type; Returns the string macro. Methods for YAPE::Regex::oct This class represents octal escapes. Objects have the following methods: my $oct = YAPE::Regex::oct->new($type,$q,$ng); Creates a YAPE::Regex::oct object. Takes three arguments: the octal number (as a string), the quantity, and the non-greedy flag. my $oct = YAPE::Regex::oct->new(040); # / 40/ my $text = $oct->text; Returns the octal escape. print $oct->text; # 40 my $type = $oct->type; Returns the string oct. Methods for YAPE::Regex::hex This class represents hexadecimal escapes. Objects have the following methods: my $hex = YAPE::Regex::hex->new($type,$q,$ng); Creates a YAPE::Regex::hex object. Takes three arguments: the hexadecimal number (as a string), the quantity, and the non-greedy flag. my $hex = YAPE::Regex::hex->new(20,{2,}); # /x20{2,}/ my $text = $hex->text; Returns the hexadecimal escape. print $hex->text; # x20 my $type = $hex->type; Returns the string hex. Methods for YAPE::Regex::utf8hex This class represents UTF hexadecimal escapes. Objects have the following methods: my $hex = YAPE::Regex::utf8hex->new($type,$q,$ng); Creates a YAPE::Regex::utf8hex object. Takes three arguments: the hexadecimal number (as a string), the quantity, and the non-greedy flag. my $utf8hex = YAPE::Regex::utf8hex->new(beef,{0,4}); # /x{beef}{2,}/ my $text = $utf8hex->text; Returns the hexadecimal escape. print $utf8hex->text; # x{beef} my $type = $utf8hex->type; Returns the string utf8hex. Methods for YAPE::Regex::backref This class represents back-references. Objects have the following methods: my $bref = YAPE::Regex::bref->new($type,$q,$ng); Creates a YAPE::Regex::bref object. Takes three arguments: the number of the back-reference, the quantity, and the non-greedy flag. my $bref = YAPE::Regex::bref->new(2,,?); # /2?/ my $text = $bref->text; Returns the backescape. print $bref->text; # 2 my $type = $bref->type; Returns the string backref. Methods for YAPE::Regex::ctrl This class represents control character escapes. Objects have the following methods: my $ctrl = YAPE::Regex::ctrl->new($type,$q,$ng); Creates a YAPE::Regex::ctrl object. Takes three arguments: the control character, the quantity, and the non-greedy flag. my $ctrl = YAPE::Regex::ctrl->new(M); # /cM/ my $text = $ctrl->text; Returns the control character escape. print $ctrl->text; # cM my $type = $ctrl->type; Returns the string ctrl. Methods for YAPE::Regex::named This class represents named characters. Objects have the following methods: my $ctrl = YAPE::Regex::named->new($type,$q,$ng); Creates a YAPE::Regex::named object. Takes three arguments: the name of the character, the quantity, and the non-greedy flag. my $named = YAPE::Regex::named->new(GREEK SMALL LETTER BETA); # /N{GREEK SMALL LETTER BETA}/ my $text = $named->text; Returns the character escape text. print $named->text; # N{GREEK SMALL LETTER BETA} my $type = $named->type; Returns the string named..

Requirements: No special requirements
Platforms: Linux
Keyword: Beta Greek Greek Small Letter Beta Letter Libraries New Programming Quantity Returns String Text Type Yape Yaperegexelement
Users rating: 0/10

License: Freeware Size: 153.6 KB
Arcade Style Games  -  Rosetta Stone 1.1
Rosetta Stone, whether you're playing Greek number mode or Egyptian letter mode, the number one rule to keep in mind is keeping the scales balanced, but it's not that easy. As you try to gain points by completing equations or words, blocks drop...
8.2 MB  
Libraries  -  Geography::Countries 1.4
Geography::Countries is a Perl module with 2-letter, 3-letter, and numerical codes for countries. SYNOPSIS use Geography::Countries; $country = country DE; # Germany @list = country 666; # (PM, SPM, 666, # Saint Pierre and Miquelon, 1)...
9.22 KB  
Network & Internet  -  Cherokee 0.6.0 Beta 1
Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. Cherokee is a lightweight Web server and most of all flexible. It is embeddable and extensible...
1.5 MB  
Shell & Desktop  -  spell-karamba 0.2
spell-karamba is a desktop applet for SuperKaramba that spells the typed words - letter by letter. You can choose from deutsch, english, american, international and NATO spelling. Installation: Actually the installation is pretty easy:...
17.41 KB  
Teaching Tools  -  SightWords Kindergarten 1.0
SightWords Kindergarten is an application for learning most frequently used English words without sounding them out letter by letter. The Kindergarten version features 8 levels, A to H, with different sets of words. "Ask the Bee" button plays...
1.3 MB  
MP3 Tools  -  ECTlistener 2.7.2
ECTistener is AAC (Augmentative and Alternative Communication) software, created and developed by EyeComTec ( ECTlistener is intended to analyze sound signals from any microphone. Depending on the length and volume of the...
1.88 MB  
Programming  -  iso3166 0.1
ISO 3166-1 defines two-letter, three-letter, and three-digit country codes. python-iso3166 is a self-contained module that converts between these codes and the corresponding country name. Installation $ pip install iso3166
10.24 KB  
Communication Tools  -  ECTkeyboard 31.3.2
ECTkeyboard is an AAC (Alternative and Augmentative Communication) program that allows individuals with reduced motor skills to type text letter-by-letter via pressing only one physical button. The program can be coupled with eye tracking...
2.86 MB  
Productivity  - 1.0
Imagine you are talking with someone unknown to you on the phone: a hotel clerk, a travel agent, etc. And then you need to spell your name, or your email address, or your home address letter by letter. This is when the nightmare begins: - "Did you...
307.2 KB  
Education  -  ABC Write Listen Learn 1.1
ABC Write Listen Learn makes learning the alphabet fun! Children will love exploring the alphabet as they swipe through each letter. Each letter features: ? A virtual chalkboard to practice writing an upper and lower case...
32.1 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.15.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB