Search the web
Sign In
New User? Sign Up
taglist · Vim taglist (source browser) plugin
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
include new line chars in .*   Message List  
Reply | Forward Message #404 of 448 |
Hi All,

I am using using TagList for ANT build files as per
http://vim.wikia.com/wiki/Using_TagList_for_ANT_build_files

To pick up targets, I am using:
--regex-ant=/^[ \t]*<[ \t]*target.*name="([^<"&]+)".*>/\1/t,target/i

The problem is this will only pick up targets where the opening tag is
all on one line. For example, it will pick up
<target name="clean" depends="init" description="...">
but not
<target name="clean"
depends="init"
description="...">

Can anyone guide me as to how I can modify the ".*" in the above
expression to deal with new line chars too?

I posted this here too:
http://groups.google.com/group/vim_use/browse_thread/thread/73176642d613105b?q=%\
22robert+mark+bram%22+OR+robertmarkbram&pli=1&fwc=1


In response, I tried this, which didn't work:
--regex-ant=/^[ \t]*<[ \t]*target.*name="([^<"&]+)"\_.{-}>/\1/t,target/i

Thanks for any assistance!

Rob
:)




Thu Dec 11, 2008 1:12 pm

robertmarkbram
Offline Offline
Send Email Send Email

Forward
Message #404 of 448 |
Expand Messages Author Sort by Date

Hi All, I am using using TagList for ANT build files as per http://vim.wikia.com/wiki/Using_TagList_for_ANT_build_files To pick up targets, I am using: ...
Robert Mark Bram
robertmarkbram
Offline Send Email
Dec 11, 2008
1:12 pm

Hello, ... You can try posting your question to the Exuberant ctags user mailing list. https://lists.sourceforge.net/lists/listinfo/ctags-users - Yegappan...
Yegappan Lakshmanan
yegappan
Offline Send Email
Dec 12, 2008
6:37 pm

Hi Yegappan, ... Thank you for this - I will keep it in mind. This time around, David Fishburn in the Google newsgroup gave me the answer: === As an...
Robert Mark Bram
robertmarkbram
Offline Send Email
Dec 13, 2008
12:08 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help