So, f开发者_开发百科iddling with the EasyGrep.vim plugin, trying to get it into a state that suits me.
I have a string ABCD20110420.txt and I want to extract the date out of it. Expected 2011-04-20 I can use replace to remove the text part, but how do I insert the \"-\" ?
I am trying to create a directory from a variable that comes from grep\'ing and it keeps failing, telling 开发者_开发百科me there is a carriage return where there isn\'t. I have tried dos2unix, it tel
The way I would read the regular expression below: a space char a slash char a \'n\' char zero or more space chars
How can I match irreducible fractions with regex? For example, 23/25, 3/4, 5/2, 100/101, etc. First of all, I have no idea about the gcd-algorithm realization in regex.
I\'m looking for a command that use grep to search in /usr/bin for all the files who have 2 links and sort them in ascending.
I have a text file with a bunch of file paths such as - 开发者_如何学Cweb/index.erb web/contact.erb
I have a large number of strings in my iPhone app containing random combinations of letters, and I\'d like to check each of these random strings against a dictionary. I\'m looking for a way to grep ea
I\'m trying to write a function which will search through a file in the same manner that reverse-search-history works.i.e. user starts typing in, prompt is updated with 1st match, hitting a special ke
I need a regex/grep/sed/whatever expression that will matc开发者_运维问答h \"F:\\vol2\\home\\USERNAME\" /grant ...