Bug?

Ask how to do things or if a certain feature is available in the program.
Post Reply
User avatar
rjbill
Posts: 881
Joined: 13 Jun 2011 06:36

Bug?

Post by rjbill »

I don't know if I'm missing something here, or if there is a BUG in the Regular Expression Find/Replace,
but it isn't finding what I think it should find. (it finds no text matching)

This is my RegEx: [1-9][0-9]0-9],,

I'm trying to find a 3-digit number followed by two commas.

And this is the text:

Code: Select all

226,,e2   128,,80   155,,9b | 226,,e2   128,,80   159,,9f
| 239,,ef   188,,bc   130,,82 | 226,,e2   128,,80   153,,99 | 226,,e2
128,,80   152,,98 | 226,,e2   128,,80   154,,9a | 227,,e3   128,,80   158,,9e
| 227,,e3   128,,80   157,,9d | 227,,e3   128,,80   159,,9f | 226,,e2
128,,80   157,,9d | 226,,e2   128,,80   156,,9c | 226,,e2   128,,80   158,,9e
| 226,,e2   185,,b9   130,,82 | 226,,e2   157,,9d   175,,af | 226,,e2
157,,9d   174,,ae | 226,,e2   128,,80   186,,ba | 226,,e2   128,,80   185,,b9
| 226,,e2   157,,9d   159,,9f | 226,,e2   157,,9d   156,,9c | 226,,e2
157,,9d   155,,9b | 226,,e2   157,,9d   157,,9d | 226,,e2   157,,9d   158,,9e
| 194,,c2   187,,bb | 194,,c2   171,,ab | 239,,ef   188,,bc   135,,87
RJTE version 16.20 (Beta) - 64-bit
Win 10 Pro 64-bit 8 GB RAM Intel Core i7-6700 3.40 GHz SCSI Hard Drive 1 TB

Note: The signature is dynamic, not static,
so it may not show the correct version above
that was in use at the time of the post.
User avatar
pjj
Posts: 2138
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Bug?

Post by pjj »

rjbill wrote: 23 Apr 2024 23:44 I don't know if I'm missing something here,
Yes, you're missing one opening bracket!
rjbill wrote: 23 Apr 2024 23:44 This is my RegEx: [1-9][0-9]0-9],,
...while it should have been
[1-9][0-9][0-9],,
With it your regex works as intended.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
rjbill
Posts: 881
Joined: 13 Jun 2011 06:36

Re: Bug?

Post by rjbill »

Thanks. I need glasses.
RJTE version 16.20 (Beta) - 64-bit
Win 10 Pro 64-bit 8 GB RAM Intel Core i7-6700 3.40 GHz SCSI Hard Drive 1 TB

Note: The signature is dynamic, not static,
so it may not show the correct version above
that was in use at the time of the post.
Post Reply