On Sun, Oct 17, 2021 at 7:37 PM José Mejuto via lazarus <lazarus@lists.lazarus-ide.org> wrote: > OpcodeOptionalChar (maybe the name should be OptionChar) works in the > compiled stream as CheckMatch and if match go to next char; if not match > continue checking without advance in the target string. > > Most people are familiar with ranges "[a-z]", optional chars use the > same "[" syntax but without the dash "-", so "[abcde]" matches one > position with any of those chars or if you negate the set "[!abcde]" it > will match any char *except* any of those.
So, with that option specified ranges work like "sets" in the old Masks implementation? And [a-z] will mean either 'a' or '-' or 'z'? -- Bart -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus