PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Sep 24, 2020 7:19 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon May 06, 2002 4:58 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 5:23 pm 
Offline
Forum Contributor
User avatar

Joined: Sat Apr 20, 2002 10:47 am
Posts: 118
Location: East Coast


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 5:27 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 5:36 pm 
Offline
Forum Contributor
User avatar

Joined: Sat Apr 20, 2002 10:47 am
Posts: 118
Location: East Coast


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 5:43 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 6:13 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden
How can I do a not this word thing??
I know I can do a not any of these chars like:
[^fghav]
..but how can I prevent a full word like: '</a>' ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 6:14 pm 
Offline
Forum Contributor
User avatar

Joined: Sat Apr 20, 2002 10:47 am
Posts: 118
Location: East Coast


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 6:22 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 6:33 pm 
Offline
Forum Contributor
User avatar

Joined: Sat Apr 20, 2002 10:47 am
Posts: 118
Location: East Coast
To be honest, i dont think you know what you want.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 6:36 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden
Sure I do! :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 7:55 pm 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden
Almost there now:
$search_pattern = '/<[aA] [^<][^/][^aA]*muppo/';

This finds:
<a href="#">muppo

But why can't I put in the last character too the > in </a>
Like this:
$search_pattern = '/<[aA] [^<][^/][^aA][^>]*muppo/';

This does not work!?? hmm....
Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 06, 2002 11:38 pm 
Offline
Forum Contributor

Joined: Sun Apr 28, 2002 9:52 pm
Posts: 122
Location: Portsmouth, VA


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 07, 2002 7:42 am 
Offline
Site Admin
User avatar

Joined: Fri Apr 19, 2002 8:29 am
Posts: 175
Location: Dallas, Tx


Top
 Profile  
 
 Post subject: Isn't ereg slower?
PostPosted: Tue May 07, 2002 8:37 am 
Offline
Forum Commoner

Joined: Sat May 04, 2002 4:07 am
Posts: 52
Location: Växjö, Sweden


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 07, 2002 12:47 pm 
Offline
Forum Contributor

Joined: Sun Apr 28, 2002 9:52 pm
Posts: 122
Location: Portsmouth, VA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group