what's your favourite color body patterns?

This is a discussion on what's your favourite color body patterns? within the Mutt forums in Other Technologies category; Been playing around with some color body patterns lately for things like smileys, dates and URLs etc. Did some googling and came across some color settings people had used. Just wondered what ones you find the most useful, or are most proud of, or are your favourite. Here are some I find useful. Can't remember which ones I did myself, and which ones I got from elsewhere. Please feel free to let me know if you have a better way of achieving the same thing. # emphasis color body brightwhite default "(^|[^[:alnum:]*])+[*]($|[- [:alnum:]])+[*]" # bold color body brightyellow default "(^|[^[:alnum:]])+[/]($|[-[:alnum:]])+[/]+[^[:alnum:]]+" ...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-05-2008, 10:45 PM
Troy Piggins
Guest
 
Default what's your favourite color body patterns?

Been playing around with some color body patterns lately for
things like smileys, dates and URLs etc. Did some googling and
came across some color settings people had used.

Just wondered what ones you find the most useful, or are most
proud of, or are your favourite.

Here are some I find useful. Can't remember which ones I did
myself, and which ones I got from elsewhere. Please feel free to
let me know if you have a better way of achieving the same thing.

# emphasis
color body brightwhite default "(^|[^[:alnum:]*])+[*]($|[- [:alnum:]])+[*]" # bold
color body brightyellow default "(^|[^[:alnum:]])+[/]($|[-[:alnum:]])+[/]+[^[:alnum:]]+" # italics
color body brightcyan default "(^|[^[:alnum:]])+[_]($|[-[:alnum:]])+[_]+" # underline

# URLs
color body color33 default \
"[\[<]?(https?|ftp|gopher|finger)://([^"'"'"' \t\r\n)>.,!?&]|[.,!?][^"'"'"' \
\t\r\n)>.,!?&]|&([^g]|$)|&g([^t]|$)|&gt([^;]|$))+[\]>]?"

# not sure if these work completely as intended
color body color229 default "[\[<]?(mailto?[-a-z_0-9.+]+@[-a-z_0-9.?=]+[\]>]?" # email addresses
color body color75 default "(^| |[-.[:alnum:]]+:+)~?\(/[-_.'[:alnum:]]+\)+/?" # Unix file path
color body brightmagenta default "(^|[ '\"]+)\\$[[:alnum:]][-_[:alnum:]]+" # variable

# smileys
color body brightyellow default "([*]?[{}><]?[;:][-=o^]?[][)(*><|DP\\/][)(]?)"
color body brightyellow default "([{}]?[8][-=o^][)(><|DP\\/][)(]?)"
color body brightyellow default "([)(]?[><|\\/)(][-=o^]?[8;:][{}]?)"

color body green default "^ *[-+*o] +" # list item
color body color225 default "[0-9]{2,3}[.]([0-9]{1,3}[.]){2}[0-9]{1,3}" # IP addresses

--
Troy Piggins | http://piggo.com/~troy _ /|/
|\__/ Oo,
( \\ D
Mutt 1.5.18 (with rr.compressed & vvv.nntp patches) L\-\L`\/|
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:08 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.