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
:)