On Feb 20, 2013, at 5:47 PM, Lorin Rivers wrote:
> Oh Mighty Ones,
>
> I have a big list that looks something like this:
> speedo_705494_001.jpg
> speedo_7051210_418.jpg
> speedo_7051210_418_bk.jpg
> speedo_7051200_041.jpg
> speedo_7051200_041_bk.jpg
> speedo_7051200_041_bk_a.jpg
> speedo_705091
I couldn't see a way to get a 100% solution with just one grep run, but
this works for items that have two, but not when there's three. If you run
the same regex replace all multiple times it will accommodate more than two.
Find:
((\w+_\d+_\d+).*\.jpg)(\r(\2(.*\.jpg)))
Replace with:
\1,\4
-Ken
Are counterparts (File > Counterpart) only used to switch between .c and .h
files? It would be really handy if there were language-specfic rules, e.g.
in Ruby the counterpart for a class file would be its corresponding spec,
so that foo.rb's counterpart would be foo_spec.rb. Heck, why not let th
Oh Mighty Ones,
I have a big list that looks something like this:
speedo_705494_001.jpg
speedo_7051210_418.jpg
speedo_7051210_418_bk.jpg
speedo_7051200_041.jpg
speedo_7051200_041_bk.jpg
speedo_7051200_041_bk_a.jpg
speedo_7050911_173.jpg
speedo_7050911_173_bk.jpg
speedo_7050804_001.jpg
speedo_70508
When entabbing source code (of nearly any language), I only want the
leading whitespace to be tabbified.
Unfortunately, current behavior is to entab all multi-space runs throughout
the lines.
The project I'm on at the moment has strings with long runs of space in
them, which must not be changed t
Thanks. I have been experimenting with other text editors that have this
feature, but it is difficult to find a BBedit replacement that I am
completely happy with.
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to th