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/ref.regex.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.regex.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'ref.regex.php',
   
1 => 'POSIX Regex Functions',
  ),
 
'up' =>
  array (
   
0 => 'book.regex.php',
   
1 => 'Regular Expression (POSIX Extended)',
  ),
 
'prev' =>
  array (
   
0 => 'regex.examples.php',
   
1 => 'Examples',
  ),
 
'next' =>
  array (
   
0 => 'function.ereg-replace.php',
   
1 => 'ereg_replace',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">POSIX Regex Functions</h1>
 <div class="partintro">
  <h1 class="title">See Also</h1>
  <p class="para">
   For regular expressions in Perl-compatible syntax have a look at the
   <a href="book.pcre.php" class="link">PCRE functions</a>. The simpler shell style
   wildcard pattern matching is provided by <a href="function.fnmatch.php" class="function">fnmatch()</a>.
  </p>
 </div>

 









































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.ereg-replace.php">ereg_replace</a> — Replace regular expression</li><li><a href="function.ereg.php">ereg</a> — Regular expression match</li><li><a href="function.eregi-replace.php">eregi_replace</a> — Replace regular expression case insensitive</li><li><a href="function.eregi.php">eregi</a> — Case insensitive regular expression match</li><li><a href="function.split.php">split</a> — Split string into array by regular expression</li><li><a href="function.spliti.php">spliti</a> — Split string into array by regular expression case insensitive</li><li><a href="function.sql-regcase.php">sql_regcase</a> — Make regular expression for case insensitive match</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites