replace empty lines before a brace
match:
^(?([^\r\n])\s)*\r?\n(?<stuff>(?([^\r\n])\s)*\})\r?\n
replace:
${stuff}\n
| Result: 1 | |
| Items { | |
| TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
| Badge { | |
| BadgeType: BADGE_BATTLE_ATTACK_WON | |
| BadgeRanks: 4 | |
| Targets: "\nd\350\007" | |
| } | |
| } | |
| Items { |
| System.Threading.Thread.Sleep(4000); | |
| if (1 != ((new System.Random().Next()) % 3)) { throw new System.Exception(); } |
replace empty lines before a brace
match:
^(?([^\r\n])\s)*\r?\n(?<stuff>(?([^\r\n])\s)*\})\r?\n
replace:
${stuff}\n
| public static class GraphicsSetPointHelper | |
| { | |
| public static void SetPoint(this Graphics g, Brush b, float x, float y) | |
| { | |
| g.FillRectangle(b, x, y, 1, 1); | |
| } | |
| } |
| 01net.com:443 - VULNERABLE | |
| 1001freefonts.com:443 - VULNERABLE | |
| 123contactform.com:443 - VULNERABLE | |
| 123rf.com:443 - VULNERABLE | |
| 18qt.com:443 - VULNERABLE | |
| 1fichier.com:443 - VULNERABLE | |
| 24tv.ua:443 - VULNERABLE | |
| 444.hu:443 - VULNERABLE | |
| 518.com.tw:443 - VULNERABLE | |
| 55188.com:443 - VULNERABLE |
| [AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)] | |
| public class ಠ_ಠAttribute : Attribute | |
| { | |
| public ILog Log { get; set; } | |
| public ಠ_ಠAttribute() | |
| { | |
| Log.Info("This code is bad and you should feel bad"); | |
| } | |
| } |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.IO; | |
| using System.Windows.Forms; | |
| namespace ReadWriteVerifyTest | |
| { |
| -- SURPRISE, 0! | |
| IF NULL = NULL | |
| PRINT 1 | |
| ELSE | |
| PRINT 0 | |
| GO | |
| -- 1 | |
| IF NULL IS NULL | |
| PRINT 1 | |
| ELSE |
| <script language="JavaScript" type="text/javascript"> | |
| // Comcast Cable Communications, LLC Proprietary. Copyright 2012. | |
| // Intended use is to display browser notifications for critical and time sensitive alerts. | |
| var SYS_URL='/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'; | |
| // var image_url='http://servicealerts.comcast.net:8080/images/mt'; | |
| var image_url='http://xfinity.comcast.net/constantguard/BotAssistance/notice/images'; | |
| var headertext1='<strong>Comcast Courtesy Notice</strong>'; | |
| var textline1='You have reached 90% of your <b>monthly data usage allowance</b>.'; | |
| var textline2='Please sign in for more information and to remove this alert.'; | |
| var acknowledgebutton='<a href=\"#\" onClick="document.location.href=\''+SYS_URL+'?dispatch=redirect&redirectName=login¶mName=bmUid\'" title="Sign in to acknowledge" style="color: #FFFFFF;"><img alt="Sign in to acknowledge" src="'+image_url+'/mt_signin.png"/></a>'; |