User Profile

Collapse

Profile Sidebar

Collapse
vapour
vapour
Last Activity: Oct 17 '07, 05:13 PM
Joined: Oct 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vapour
    replied to Purpose of '#' character in regular expressions
    in PHP
    Thanks for the response. Nope, the hash just seems to be part of the furniture, so to speak. Some end in #si, for example, denoting it's a regex construction thing.

    Any more ideas from anyone?
    See more | Go to post

    Leave a comment:


  • vapour
    replied to Purpose of '#' character in regular expressions
    in PHP
    Just bumping here...hope that's OK. Again, any response will be very much appreciated.
    See more | Go to post

    Leave a comment:


  • vapour
    started a topic Purpose of '#' character in regular expressions
    in PHP

    Purpose of '#' character in regular expressions

    Hi,

    Quick question here, and wondering if anyone can help. I often see the hash character ('#') in regular expressions and am wondering what purpose it is supposed to serve.

    Example:

    [PHP]#(?<=[\x00-\x40\x5b-\x60\x7b-\x7f]|^)[/PHP]
    Every bit of online documentation I have looked at states the hash character's purpose is merely to denote the line is a comment. Clearly this is not the case if the...
    See more | Go to post
No activity results to display
Show More
Working...