![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just noticed you can use the right square bracket as an "any number of wildcard characters" wildcard character.... as in... SELECT MYFILE = "]*]*]" This will return a list of all item-ids containing two or more "*"'s anywhere in the id. Handy. Do any flavours other than Reality have this capability? |
#3
| |||
| |||
|
|
SELECT MYFILE = "J]SON" would return JOHNSON, JEFFERSON, JASON, etc., etc.. |

#4
| |||
| |||
|
#5
| |||
| |||
|
|
D3 seems to ignore anything after the ]. |

#6
| |||
| |||
|
|
Steve Douglas wrote: D3 seems to ignore anything after the ]. Indeed, the R83 manual says "Any characters which may occur after a ']' will never be inspected." *That has always been my understanding and I would have never tried to see what happens otherwise. That said, I've always defined the close bracket as meaning "I don't care what comes after this". *So the text "J]SON" means: - Must start with a J. - I don't care what comes after this - Must end in "SON" because those are the characters I've set in the last three positions. The third spec could be taken to override the first, so Jepsen would match the first two specs but not the third. The functionality seems logical but I think we need to fall back on defined behavior no matter how logical observed behavior seems to be. These days, is deviation from R83 a product-differentiating feature, or is it a bug? *I think it's up to the product-specific manual. *If a DBMS manual does not explicitly define the behavior as a feature, then it's a bug until the document includes it and functionality is verified through proper QA testing. With that in mind, my Reality v14.0.3 doc does not include mention of brackets at all with regard to the English commandline. That document refers to the Reality v7.x Beginner's Guide to ENGLISH, which seems to agree with the R83 base. So until we hear otherwise, I'd say Mike has found a bug which just happens to look like it returns some useful results. *Someone at Northgate could easily claim from a Marketing perspective that this is a feature. *I'd like an evaluation to come from a Northgate Engineer (even if posted by someone from Marketing). *And then I would ask them to file a request for a doc update. * ![]() T |
#7
| |||
| |||
|
|
Hi Tony, Check under English Reference The English Sentence > Item Lists Value Strings |
![]() |
| Thread Tools | |
| Display Modes | |
| |