downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/book.pcre.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/refs.basic.text.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'book.pcre.php',
   
1 => 'PCRE',
  ),
 
'up' =>
  array (
   
0 => 'refs.basic.text.php',
   
1 => 'Text Processing',
  ),
 
'prev' =>
  array (
   
0 => 'function.bbcode-set-flags.php',
   
1 => 'bbcode_set_flags',
  ),
 
'next' =>
  array (
   
0 => 'intro.pcre.php',
   
1 => 'Introduction',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Regular Expressions (Perl-Compatible)</h1>
   

 

 






 





 






 







 








<ul class="chunklist chunklist_book"><li><a href="intro.pcre.php">Introduction</a></li><li><a href="pcre.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="pcre.requirements.php">Requirements</a></li><li><a href="pcre.installation.php">Installation</a></li><li><a href="pcre.configuration.php">Runtime Configuration</a></li><li><a href="pcre.resources.php">Resource Types</a></li></ul></li><li><a href="pcre.constants.php">Predefined Constants</a></li><li><a href="pcre.examples.php">Examples</a></li><li><a href="pcre.pattern.php">PCRE Patterns</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="reference.pcre.pattern.modifiers.php">Possible modifiers in regex patterns</a> — Pattern Modifiers</li><li><a href="reference.pcre.pattern.differences.php">Differences From Perl</a> — Perl Differences</li><li><a href="reference.pcre.pattern.syntax.php">PCRE regex syntax</a> — Pattern Syntax</li></ul></li><li><a href="ref.pcre.php">PCRE Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.preg-filter.php">preg_filter</a> — Perform a regular expression search and replace</li><li><a href="function.preg-grep.php">preg_grep</a> — Return array entries that match the pattern</li><li><a href="function.preg-last-error.php">preg_last_error</a> — Returns the error code of the last PCRE regex execution</li><li><a href="function.preg-match-all.php">preg_match_all</a> — Perform a global regular expression match</li><li><a href="function.preg-match.php">preg_match</a> — Perform a regular expression match</li><li><a href="function.preg-quote.php">preg_quote</a> — Quote regular expression characters</li><li><a href="function.preg-replace-callback.php">preg_replace_callback</a> — Perform a regular expression search and replace using a callback</li><li><a href="function.preg-replace.php">preg_replace</a> — Perform a regular expression search and replace</li><li><a href="function.preg-split.php">preg_split</a> — Split string by a regular expression</li></ul></li></ul></div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites