EmEditor (text editor) Forum Index
   Regular Expressions
     Needs help in writing regex in snippets
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
ToadLoadin
Posted on: 12/22/2009 5:25 am
Just can't stay away
Joined: 7/4/2008
From: China
Posts: 119
Needs help in writing regex in snippets
The new snippet plugin is really powerful, after reading instructions in the help file, I guess it can do many productive things beyond my imagination.

What I want to do is making an expandable comment banner like below, I guess it can be done with regular expression to transform text in a placeholder, but I'm an absolute beginner in writing regular expression...


After a little bit of quick-start lesson, I wrote a short regex, aimed for replacing all characters in a string into "=", which works fine in an online regex tester.


But when I put my regex into a snippets, it behaves totally different, would somebody give me a hand?
Flat Previous Topic | Next Topic


Subject Poster Date
 » Needs help in writing regex in snippets ToadLoadin 12/22/2009 5:25 am
     Re: Needs help in writing regex in snippets dmitryl 3/3/2012 7:48 am
       Re: Needs help in writing regex in snippets zhouzh2 3/3/2012 8:42 pm
       Re: Needs help in writing regex in snippets ToadLoadin 3/3/2012 11:26 pm
         Re: Needs help in writing regex in snippets dmitryl 3/3/2012 11:58 pm
           Re: Needs help in writing regex in snippets dmitryl 3/4/2012 12:02 am
             Re: Needs help in writing regex in snippets ToadLoadin 3/4/2012 2:33 am
               Re: Needs help in writing regex in snippets dmitryl 3/4/2012 3:06 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文