Potential Syntax Errors? No Worries with EmEditor - Your Reliable Text Editing Companion!

Potential Syntax Errors? No Worries with EmEditor - Your Reliable Text Editing Companion!

Charles Lv8

Potential Syntax Errors? No Worries with EmEditor - Your Reliable Text Editing Companion!

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • September 21, 2013 at 12:57 pm #16747
    jic
    Participant
    Greetings.
    I have the following string…

    Tüm


    * blah.

    blah.


    * blah blah blah.

    * blah blah blah…. if I do a search for,
    it should just grab the tag
    correct? Well, it is grabbing everything all the way to the end of line and leave the last tag there. Any thoughts on this one? Thanks. September 21, 2013 at 12:58 pm [#16748](https://tools.techidaily.com/emeditor/products/) [![](https://secure.gravatar.com/avatar/bf2de2dbe8877bc150d5f4d58d739030?s=80&d=identicon&r=g)jic](https://www.emeditor.com/forums/users/jic/ "View jic's profile") Participant Sorry, repost… \`

    Tüm


    * blah.

    blah.


    * blah blah blah.

    * blah blah blah…. September 21, 2013 at 12:59 pm [#16749](https://tools.techidaily.com/emeditor/products/) [![](https://secure.gravatar.com/avatar/bf2de2dbe8877bc150d5f4d58d739030?s=80&d=identicon&r=g)jic](https://www.emeditor.com/forums/users/jic/ "View jic's profile") Participant I guess the code part did not work, but there is a piece of the string that shows the desired capture. Thanks. October 1, 2013 at 6:09 am [#16956](https://tools.techidaily.com/emeditor/products/) [![](https://secure.gravatar.com/avatar/f29c043a3cc5c5dac8db4e62939893e9?s=80&d=identicon&r=g)Stefan](https://www.emeditor.com/forums/users/Stefan/ "View Stefan's profile") Participant > if I do a search for, > >
    > > it should just grab the tag
    correct? > Well, it is grabbing everything all the way to the end of line and leave the last tag there. > Any thoughts on this one? Thanks. Please note that regex multiplier like plus and star works greedy in mostly every regex engine, so here too. Use the non-greedy , frugal switch ‘**?**‘ to get what you are after: `
    ` .
  • Author
    Posts

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Potential Syntax Errors? No Worries with EmEditor - Your Reliable Text Editing Companion!
  • Author: Charles
  • Created at : 2024-10-12 12:34:39
  • Updated at : 2024-10-13 21:25:57
  • Link: https://win-info.techidaily.com/potential-syntax-errors-no-worries-with-emeditor-your-reliable-text-editing-companion/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Potential Syntax Errors? No Worries with EmEditor - Your Reliable Text Editing Companion!