輸入待尋字串
  <?php
  require("http://php.wilson.gs");  // 回首頁
  echo "http://php.wilson.gs/bible/group.php : Perl 相容語法函式庫";


Perl 相容語法函式庫

本函式庫共有 4 個函式

對於熟悉 Perl 的 Webmaster 來說,使用這個函式庫可以將 Prel 語言中最強的樣式比對功能帶到 PHP 之中。更多的細節可以參考 Programming Perl 這本書第二章中有關樣式比對 (Pattern Matching) 的部份 (中譯本為 Perl 程式設計,第 63 頁起)

preg_match:字串比對剖析。
preg_match_all:字串整體比對剖析。
preg_replace:字串比對剖析並取代。
preg_split:將字串依指定的規則切開。


[ 上一頁 /bible/group.php 下一頁 ]



本站置於 NEC BIGLOBE 地球村網際網路  echo "Copyright © 1999-2000, Wilson Peng";
  mail("wilson@biglobe.net.tw", "Feedback", $message);
  ?>