Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Feb 2013, 15:26
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Question Autolinker and PCRE problem

I'm currently building a much needed Autolinker for vBulletin 4 (much like GAL) for release on vbulletin.org, and have the following issues with PCRE and replacing contents outside HTML tags:
  1. Words with accents are not recognized as full words, thus a replacement for 'pił' with 'x' results in 'xx' for 'piłpił'. But at most I can live without it.
  2. Rules are not considering the tail of a string, so I must add a character ad the end, and remove later (and this, too, is a minor concern)
However, before realeasing a hack instead proper code, I would like to ask a PCRE professional for help on this problem. Here below is the code ready to paste into a php file:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Result:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Wanted:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:05.

Layout Options | Width: Wide Color: