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
evilcoder
Forum Contributor
Posts: 345 Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia
Post
by evilcoder » Sat Feb 28, 2004 8:48 pm
hey guys, just have a small question. What do these regular expressions look for?
thanks
Code: Select all
#\{((їa-z0-9\-_]+?\.)+?)(їa-z0-9\-_]+?)\}#is
#\{(їa-z0-9\-_]*?)\}#is
#\<begin (.*?) \/\>#
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Sat Feb 28, 2004 8:53 pm
Text.
evilcoder
Forum Contributor
Posts: 345 Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia
Post
by evilcoder » Sat Feb 28, 2004 10:27 pm
text within something? as in, text within {} ??
evilcoder
Forum Contributor
Posts: 345 Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia
Post
by evilcoder » Mon Mar 01, 2004 3:14 am
*refresh*
Illusionist
Forum Regular
Posts: 903 Joined: Mon Jan 12, 2004 9:32 pm
Post
by Illusionist » Mon Mar 01, 2004 12:03 pm
probably wrong but:
1) {anything.anything}
{anyhing}
{}
2) {anything}
3) <begin anything />
probably wrong, but owell!