[Lognorm] Thought about %word%

Champ Clark III [Softwink] champ at softwink.com
Thu Jan 20 16:15:19 CET 2011


	Hello, 

	The other day I was working on some Sendmail rules (doing some
testing) and I noticed something about the %field:word%.  Here's a 
quick example:

arg1=<bob at example.com>

	What I'd planned on doing was:

arg1=<%email:word%>

	But that obviously won't work.  In the end,  you end up grabbing 
the entire line (due to spaces).  Perhaps %word% should not _just_ 
grab between spacing,  but any non-alpha/numberic.  This might lead into
other problem.  For example,  %word% still wouldn't work due to the 
"@".  Or,  maybe it's a bad idea all the way around.  Perhaps a preset
of defined delimiters ( < > [ ] (space) = , ) ?

-- 
        Champ Clark III | Softwink, Inc | 800-538-9357 x 101
                     http://www.softwink.com

GPG Key ID: 58A2A58F
Key fingerprint = 7734 2A1C 007D 581E BDF7  6AD5 0F1F 655F 58A2 A58F
If it wasn't for C, we'd be using BASI, PASAL and OBOL.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.adiscon.net/pipermail/lognorm/attachments/20110120/e4c19b47/attachment.pgp>


More information about the Lognorm mailing list