matt comments on LessWrong anti-kibitzer (hides comment authors and vote counts) - Less Wrong

59 Post author: Marcello 09 March 2009 07:18PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (52)

You are viewing a single comment's thread. Show more comments above.

Comment author: Eliezer_Yudkowsky 09 March 2009 09:10:28PM 1 point [-]

Well, to kibitz the anti-kibitzing, it looks to me like:

by <a href="http://lesswrong.com/user/Marcello"><strong>Marcello</strong></a>

would match pretty easily against something that looked for

by <a href="http://lesswrong.com/user/(.+)"><strong>(.+)</strong></a>

and deleted it, similarly on the Recent Posts but without the <strong>, checking for the identity of the two matched strings is optional (I forget how to do this offhand with REs).

Comment author: matt 10 March 2009 04:50:23AM *  2 points [-]

by <a href="http://lesswrong.com/user/(.+)"><strong>(.+)</strong></a>

by <a href="<http://lesswrong.com/user/([^>"]+)"><strong>([^<]+)</strong></a> would be better (you could also make your .+ non-greedy with .+?), but us (Trike) providing more classes and ids is better still. We're looking into it.