[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] [vim] søgning på tværs aflinjeskift



On Tue, 10 Aug 2004 22:46:40 +0200 Michael Westergaard wrote:

>> >> Er der nogen måde at søge på, hvor der ikke tages hensyn til linjeskift.
>> >> Således at
>> >> /linjeskift. Således<cr>
>> >
>> > /linjeskift.\nSåledes<cr>
>> >
>> > sådan?
>>
>> Nej. Den skal finde det selvom der er linjeskift et vilkårlig sted.
>>
>> /linjeskift.[ \n]Således<cr>
>>
>> vil gøre det, men det er noget besværligt at skrive, hvis der er tale om
>> mere end to ord.
>>
>
> /linjeskift.\_sSåledes
>
> er nok lidt bedre (:he regexp)

Det var meget smart. Men jeg havde nu håbet på at der var et flag man
kunne sætte, ligesom med \c, bare til at søgning ikke skal tage højde for
hvilket whitespace der er tale om. 

-- 
41 6E 64 65 72 73 


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:45 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *