On 13-Jan-2010, at 07:01, gio wrote:
> "UTB": "Cancel",
> "ATB":"Delete",
> 
> and so on - I need to sort them out alphabetically by value - like in
> the example above are ok (c, d) even if the keys are not.
> 
> Is there an option/regex on "sort line" that can help me with this
> job? I am going insane trying to do it manually.

Yes, sort lines supports a regex expression.

Text => Sort Lines -> Sort Using Pattern

something like 

:\s+?"(.*)",

Sort Using [x] Specific sub-pattern: \1

That would sort on the first character following a colon and optionally white 
space and a doublequote.

I use a pattern of 

= (.*)$

quite frequently.

-- 
Lister: What d'ya think of Betty? Cat: Betty Rubble? Well, I would
        go with Betty... but I'd be thinking of Wilma. Lister: This is
        crazy. Why are we talking about going to bed with Wilma
        Flintstone? Cat: You're right. We're nuts. This is an insane
        conversation. Lister: She'll never leave Fred, and we know it.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to