symbols

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

symbols

Post by hob_goblin »

in scripts alot i see a whole bunch of symbols like [ ] ^ < > * etc... that are used for wildcards and things of that sort, does anyone know a site a that explains these, i couldn't find it in the php manual
Brian
Forum Contributor
Posts: 116
Joined: Thu Apr 18, 2002 5:33 pm

Pattern Syntax

Post by Brian »

I think this might be at least part of what you are looking for:

http://www.php.net/manual/en/pcre.pattern.syntax.php
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

so would

D{0,}.php

find anything that had a php extension?

or would it be

[^W].php
Post Reply