7 pages: [1] [2] [3] [4] [5]
HostWeb Forums » Microsoft Server Operating Systems » microsoft.public.win2000.cmdprompt.admin » question about findstr
Topic: Re: question about findstr
"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?
Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx
RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406
Library of regular expressions
http://regexlib.com/Default.aspx
Replies below ↓
Replies
Re: question about findstr
"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?
Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx
RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406
Library of regular expressions
http://regexlib.com/Default.aspx
Re: question about findstr
"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?
Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx
RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406
Library of regular expressions
http://regexlib.com/Default.aspx
Re: question about findstr
"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?
Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx
RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406
Library of regular expressions
http://regexlib.com/Default.aspx
Re: question about findstr
"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?
Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx
RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406
Library of regular expressions
http://regexlib.com/Default.aspx