includes/template.php
changeset 760 60c132a5bc8e
parent 741 a216e412c439
child 767 cba10e1031eb
equal deleted inserted replaced
759:6e2671261802 760:60c132a5bc8e
  1742     
  1742     
  1743     $url_regexp = <<<EOF
  1743     $url_regexp = <<<EOF
  1744 (
  1744 (
  1745   (?:https?|ftp|irc):\/\/                            # protocol
  1745   (?:https?|ftp|irc):\/\/                            # protocol
  1746   (?:[^@\s\]"\':]+@)?                                # username (FTP only but whatever)
  1746   (?:[^@\s\]"\':]+@)?                                # username (FTP only but whatever)
  1747   (?:(?:(?:[a-z0-9-]+\.)*)[a-z0-9-]+)                # hostname
  1747   (?:(?:(?:[a-z0-9-]+\.)*)[a-z0-9\[\]:]+)           # hostname
  1748   (?:\/[A-z0-9_%\|~`!\!@#\$\^&?=\*\(\):;\.,\/-]*)? # path
  1748   (?::[0-9]+)?                                       # port number
       
  1749   (?:\/[A-z0-9_%\|~`!\!@#\$\^&?=\*\(\):;\.,\/-]*)?   # path
  1749 )
  1750 )
  1750 EOF;
  1751 EOF;
  1751 
  1752 
  1752     $text_parser = $this->makeParserText($tplvars['sidebar_button']);
  1753     $text_parser = $this->makeParserText($tplvars['sidebar_button']);
  1753 
  1754