Hi all,
I'm a photographer, and my experience sorting with GREP is incredibly
minimal. If this can't be done - apologies!
I'm building a structured hierarchal keyword list for stock photography
purposes. I aquired two separate pre-assembled lists. Both did certain
things better than the other. I want to combine keyword groups across these
two lists into one large, alphabetized group that maintains the established
hierarchy.
Most keywords are simply words, but a few involve numbers (#1, for
example.). Being hierarchal, it's been built out using tabs to communicate
nested levels and curly brackets to communicate synonyms. An example is
below, the spaces are all tabs.
ambition
{ambitious}
ancient
train
ancient civilization
apex
{#1}
{number 1}
appetizing
apprehend
approach
{approaching}
approachable
approval
{approve}
{approving}elegant
email
embryonic
emotion
{emotional}
{emotions}
affection
devotion
fondness
love
passion
sympathy
tenderness
warmth
agitated
{agitation}
flustered
frantic
amusement
{amused}
{amusing}
ego
elegance
embarrassment
emergence
empathy
emphasis
enchantment
encouragement
ending
endurance
energy
enhancement
enjoyment
ennui
enthusiasm
envy
equality
This example shows what I'd like to do - I want to merge the bottom set
(ego to equality, this came from one list) into the top set (ambition to
emotion, this came from the other list) alphabetically while maintaining
the synonyms and nested structure. Is there a way to just sort data on the
'top layer' alphabetically (and accounting for the 1% of kewords that are
things like #1 and the special characters like the curly brackets) while
maintaining the established hierarchy? My attempts so far leave things
alphabetically ordered, but the nested layers and top layers get all
jumbled together and the structure is completely broken. It alphabetizes
every single word, which isn't what I want at all.
Any help or tips would be much appreciated.
Thanks,
-Matt
--
This is the BBEdit Talk public discussion group. If you have a feature request
or need technical support, please email "[email protected]" rather than
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/d43d48c6-3181-457c-a29b-53f7a8ca5f8fn%40googlegroups.com.