Re: Strange sfid numbers

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20080816221121.GA14767@localhost>
On Sat, Aug 16, 2008 at 06:59:19PM +0200, Ger Hobbelt wrote:
> Okay, just brushed my mouth after saying some very ugly things when I
> saw those FFFFFFF's again.

;)

> _FFFFFFFF[8-9A-F] and only _then_ replace the 8 'F's. Why? Because

not really needed, his regex is /(FFFFFFFF)......../ which would match the 
1st F... part only (assuming there's no chars beyond the hash).
Though I agree in general to have as specific regex as possible for 
mangling.

The converse could be done as well, ie _add_ FFFFFFFF so that you're ready
for crm114 XgEN, ie with 64bit hash ;)

  {
       match [:msg_hash:] ( :: :edge: ) /_()[[:xdigit:]]{8}/
       alter (:edge:) /FFFFFFFF/
  }

(again assuming :msg_hash: is bounded like
	^20080815_120057_566189_E5355632$ )


-- 
paolo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.