Daniel Goldman
unread,Feb 3, 2013, 5:25:31 PM2/3/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to re...@googlegroups.com
Please excuse this post. I just needed to test how GT
and LT symbols, in the context of regex, display in
google groups. Are they mangled by confusion with
HTML use? Couldn't find a google groups "sandbox". Who
knows, tests might find something useful for the group...
#1 - Using \bfoo\b syntax:
s:(.*)\bfoo\b(.*)\n(.*)\bbar\b(.*):\1FOO\2\n\3BAR\4:
#2 - Using \< \> (BackSlash-LT BackSlash-GT) syntax:
s:(.*)\<foo\>(.*)\n(.*)\<bar\>(.*):\1FOO\2\n\3BAR\4:
#3 Using HTML entities for GT and LT:
s:(.*)\<foo\>(.*)\n(.*)\<bar\>(.*):\1FOO\2\n\3BAR\4:
#4 \<foo\> is foo surrounded by BackSlash-LT and BackSlash-GT.
#5 \<foo\> is same as #4, with HTML entities for LT and GT.
#6 • is HTML bull entity. Displays as bullet or as literal?
#7 is HTML nbsp entity. Shows space or literal?
#8 < is LT all by it's lonesome.
#9 < is also LT, but as HTML entity.
#10 > is GT all by it's lonesome.
#11 > is also GT, but as HTML entity.
#12 \< is BackSlash-LT all by it's lonesome.
#13 \< is also BackSlash-LT, but LT as HTML entity.
#14 \> is BackSlash-GT all by it's lonesome.
#15 \> is also BackSlash-GT, but GT as HTML entity.
#16 <strong>Hi</strong> is Hi surrounded by "strong" tags.
#17 <i>Hello</i> is Hello surrounded by "italic" tags.
#18 <br> is HTML br tag. Shows as literal?
#19 <p> is HTML p tag. Shows as literal?