User talk:Lightmouse/Archives/2010/December

Question about some code I wrote
This is going to sound like a strange question but here goes. I wrote some code to replace various WikiProject redirects to the actual template: see here. My question is in regards to dealing with casing. I know that using regex I can put [Xx] to look for upper and lower case of letter X (X being whatever letter). Is there a way that you know of to make this so all of the whole group is case insensitive rather than having to designate each one individually? Thanks. --Kumioko (talk) 01:08, 18 December 2010 (UTC)


 * Replace:
 * ArticleText=Regex.Replace(ArticleText, @"
 * with
 * ArticleText=Regex.Replace(ArticleText, @"(?i)


 * Hope that helps. Lightmouse (talk) 11:39, 18 December 2010 (UTC)
 * I figured it out thanks., RegexOptions.IgnoreCase seems to work. I tried using ?i and it was finding things erroneously. --Kumioko (talk) 13:20, 18 December 2010 (UTC)

OK. Glad it worked out for you. Lightmouse (talk) 13:31, 18 December 2010 (UTC)

BRFAs
Okay, I think the delaying has gone on enough, so I think I can make efforts to resolve it satisfactorily. It seems to me that in general the least hassle route would be to pick one task you are happy with, then revisit other issues later. Would you agree with that analysis? Obviously you'll want to do more, but I reckon that keeping to one well-defined task for a little while will be in your best interests... would you like to pick one of the BRFAs to continue with? In light of Arbcom's reluctance for you to have the power to self-automate, I fear we shall have to include your personal BRFA in that group to. Then I can take a good look at that one BRFA in singularity, and the result, it seems to me, will probably be to approve. Regards, - Jarry1250 [Who? Discuss.] 19:22, 13 December 2010 (UTC)


 * If you can move forward with Lightbot 5, that would be a great help. It would be useful to have clarity on the scope for automation for both the Lightbot and the Lightmouse accounts. Hopefully, that'll reduce fear, uncertainty and doubt. Thank you very much for the proposal. Regards Lightmouse (talk) 11:35, 18 December 2010 (UTC)


 * I've gone ahead and archived all requests other than LightBot 5. You can reopen them at any time without prejudice; however, given that clarity nor expediency are qualities associated with ArbCom (not that I blame them for it, just the nature of the task), as I say, I think you'd do best to go ahead and finish the trial / get approval for LightBot 5, which I think we can get sorted in teh next couple of days after so very long. - Jarry1250 [Who? Discuss.] 20:52, 18 December 2010 (UTC)

Thanks. Ah! I've just seen the approval for the 200 edit trial. Thanks. I'll act on that. Lightmouse (talk)