FACTOID # 83: More than half of Indonesia's primary school teachers are under 30years of age .
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RELATED ARTICLES
People who viewed "Regex" also viewed:
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Regex

Regex is an abbreviation of regular expression.


Regex is a C regular expression library written by Henry Spencer. Later versions support the POSIX standardized regular expressions.


Regex is now found in various places:

Bundled with application such as Apache.
Default regular expression implementation in BSD Unix.
ftp://ftp.zoo.toronto.edu/pub/regex.shar - a shar archive, released by Henry Spencer in 1999.
http://arglist.com/regex/ -- a repackaged version for Unix systems.
Other sites around the Internet have ports or compiled code for other systems such as Microsoft Windows.
Picnix is an example of a Microsoft Windows implementation that uses Henry Spencers Regex library
Tcl includes a rewritten regular expression library by Henry Spencer.
PHP can use RegEx with the preg_replace and preg_match functions.

The GNU project has in the past published a package named Regex: this code may now be in the GNU C Library.


  Results from FactBites:
 
Boolean Regexes - perl6: (1080 words)
Looking deeper into the handling of advanced regexs, there are potential needs for many other concepts, to allow a regex to extract information directly from a complex file in one go, rather than a mixture of splits and nested regexes as is typically needed today.
Within a complex boolean regex there are likely to be lots and lots of brackets to nest and control the behaviour of the regex.
Rather than having to sprinkle the regex with (?:) line noise, it would be nicer to just use ordinary brackets () and only support capturing of elements by using one of the (?$=) or (?%=) constructs that have been proposed elsewhere (RFC 112 and RFC 150).
Book Review: Mastering Regular Expressions (870 words)
Regexes are very compact and powerful, but that compactness also leads many people to complain that they're difficult to understand after you've written them.
Regexes are combinations of /, \, ^, $, (, and many other punctuation characters, along with ordinary letters and numbers.
I have been using regexes for years, and I was surprised, not so much by the advanced features that I mostly knew were there and just hadn't had the need to learn yet, but actually by the gotchas that exist even in simple expressions.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.