Jump to content
You must now use your email address to sign in [click for more info] ×

Regular expressions: $ doesn't match correctly


Recommended Posts

I noticed that, too. That last paragraph ends in something that displays (with Text > Show Special Characters) as a small blue section symbol. But I can't figure out what that symbol is.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 1 month later...
  • Staff

Hi both,

Sorry for the delayed reply. I've looked into this and I believe I might have found a different issue. Can you please attach your project file and your Expression? Just to make sure they are not related. 

Thanks,

Gabe. 

Link to comment
Share on other sites

@GabrielM -- I don't have any particular project file, but it's easy to recreate. In a text frame, type xxx, press Enter/Return, and type zzz (but don't press Enter/Return). Now search .$ (any character at the end of a line). This expression should match first the last x, then the last z. But the last z is not found.

Peter

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.