-
1. Re: Find/Change — GREP vs. TEXT
Jeffrey_Smith Jan 16, 2014 12:42 PM (in response to Ceencha)GREP searches can be either case insensitive on or off
case insensitive on: (?i)
Case insensitive off (?-i)
Example:
Search for either "case" or "Case" (?i)case found on 1st, 2nd and 3rd line
Search for just "Case" (?-i)Case found on 3rd line only
-
2. Re: Find/Change — GREP vs. TEXT
pixxxel schubser Jan 16, 2014 12:50 PM (in response to Ceencha)Grep is awesome.
But a simple text search in long documents will be much more faster. And Grep (and here especially Grep styles!) need much more ressources.
-
3. Re: Find/Change — GREP vs. TEXT
Ceencha Jan 16, 2014 1:00 PM (in response to Jeffrey_Smith)Very cool ! However, I notice that when I was doing "TEXT" it replaced lowercase with lowercase and Uppercase with Uppercase automatically — the GREP seems incapable of this. But it's worth it, since the keyboard shortcuts are buggy (or non-existent) with TEXT
-
4. Re: Find/Change — GREP vs. TEXT
P Spier Jan 16, 2014 1:01 PM (in response to Ceencha)If you are searching for specific text strings and don't care what comes before or after, a text search is probably the better choice. GREP is for finding patterns in the text, or subsets of matches depending on the surrounding text.
A text search can find Cat, for example, but GREP can also look to see if the cat is black or white, or can look for cat, bat, rat and mat all at the same time.
Most GREP queries can be structured with case sensitivity built into the search terms without having to turn case sensitivity on or off. Since I started using it, I've never needed the sensitivity switches.
-
5. Re: Find/Change — GREP vs. TEXT
P Spier Jan 16, 2014 1:06 PM (in response to Ceencha)GREP replacements are literal, and honestly, I don't recall seeing a case where a text query would change case from what you typed unless the applied style called for it. Can you give an example?
-
6. Re: Find/Change — GREP vs. TEXT
Jeffrey_Smith Jan 16, 2014 1:27 PM (in response to Ceencha)it replaced lowercase with lowercase and Uppercase with Uppercase automatically
A TEXT search replaces explicitely what you enter in "Change to"
To turn on "Case Sensitive" select the sixth icon from left in the middle of panel. This will find exactly what you enter in "Find What"
-
7. Re: Find/Change — GREP vs. TEXT
Ceencha Jan 16, 2014 1:32 PM (in response to P Spier)When I search for "j" (to replace with "i") on TEXT (with case senitivity turned OFF) it replaces a Capital J with a Capital I and a lowercase j with a lowercase i.
-
8. Re: Find/Change — GREP vs. TEXT
P Spier Jan 16, 2014 1:36 PM (in response to Ceencha)Son of a gun. It does, indeed.
-
9. Re: Find/Change — GREP vs. TEXT
Jeffrey_Smith Jan 16, 2014 1:41 PM (in response to Ceencha)You are most likely replacing "i" in a word that is applied with "All Caps"
-
10. Re: Find/Change — GREP vs. TEXT
P Spier Jan 16, 2014 1:45 PM (in response to Jeffrey_Smith)Not I. Give it a try.
-
11. Re: Find/Change — GREP vs. TEXT
[Jongware] Jan 16, 2014 1:51 PM (in response to P Spier)... You guys dint know that?
It takes a conscious effort to replace "Uppercase" to "lowercase" with regular Change & Find: you need to tick the "Case sensitive" icon. For this kind of changes I automatically select the GREP tab, because its default is *always* case sensitive (despite Ceencha's statement in the first post).
Kind of bewildering is that this exact same trick cannot work with InDesign's GREP flavour, even though its expressions are far superior to Text's old-fashioned "^?" and "^9" 'find-only' shortcuts.
-
12. Re: Find/Change — GREP vs. TEXT
Jeffrey_Smith Jan 16, 2014 1:59 PM (in response to P Spier)OK, I see the behavior you and Ceencha are seeing.
-
13. Re: Find/Change — GREP vs. TEXT
P Spier Jan 16, 2014 2:27 PM (in response to [Jongware])No, I didn't know that, and I hope I remember because it could be a problem.
-
14. Re: Find/Change — GREP vs. TEXT
Ceencha Mar 7, 2014 2:59 PM (in response to pixxxel schubser)WHY OH WHY DID NOBODY TELL BE ABOUT "WILDCARD" SEARCHES?
Dang … talk about AMAZING !!!



