Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: Question: Capturing a repeated pattern

by rubasov (Friar)
on Apr 08, 2010 at 22:43 UTC ( #833657=note: print w/replies, xml ) Need Help??

in reply to Re^2: Question: Capturing a repeated pattern
in thread Question: Capturing a repeated pattern

Sorry, I've updated the grandparent node before I saw your answer. And of course if the separator part cannot be easily subtracted from your regex then split won't suffice and you will need what kennethk recommended.
  • Comment on Re^3: Question: Capturing a repeated pattern

Replies are listed 'Best First'.
Re^4: Question: Capturing a repeated pattern
by GrandFather (Sage) on Apr 08, 2010 at 23:41 UTC

    Please indicate in the node that you have updated it otherwise future readers of the thread will be left somewhat bemused by the disconnect between what is written and the reply it seemingly received.

    True laziness is hard work
      For the history:

      I haven't deleted or modified anything in that node, only added the "update" section. After that as I've seen the answer and the "disconnection", I've tried to indicate that with my node starting with "Sorry".

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833657]
[shmem]: some experience with vim?
[Lady_Aleena]: None
[shmem]: I don't know geany, and don't know whether it has support for ctags.
[Lady_Aleena]: ctags?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.
[shmem]: apt-get install exuberant-ctags
[Lady_Aleena]: I think I heard vim has a big learning curve.
[shmem]: then in the root of your source tree run: ctags -R
[shmem]: you get a file named tags where all symbols and the places where they are used are listed

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-04-27 12:09 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (505 votes). Check out past polls.