Community
    • Login

    Syntax for characters inside of characters with no spaces

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hunter BlairH
      Hunter Blair
      last edited by

      Hi all. I work with point files with certain descriptions at the end. I use to have a syntax that would highlight or change the text color of certain codes that would appear in the description column of an ASCII (text) file. the descriptions are usually found in the last column of the data that is seperated by commas, see below:

      340,1636727.9000,645209.0070,50.8320,FND5/8
      341,1636706.8490,645244.5560,51.8700,SW TOB
      342,1636439.0180,645394.0510,50.3900,WL2-2
      343,1636385.7810,645417.3640,50.1920,WL2-3
      344,1636366.8220,645370.4220,52.0170,WL2-4

      When I add the keywords, such as:
      FND
      SW
      WL

      to a keyword group of a defined language, it does not like that the codes are not seperated by spaces (whole words). Is there a way to still have them be recognized by like an * before or after the keyword? Thanks for any help.

      -Hunter

      1 Reply Last reply Reply Quote 0
      • Hunter BlairH
        Hunter Blair
        last edited by

        Bumping this up to see if anyone can help.

        Like I said in previous post, just trying to figure out how to get certain keywords highlighted in my text, even though there is not a space beforehand.

        Thanks.

        Claudia FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @Hunter Blair
          last edited by Claudia Frank

          @Hunter-Blair

          no, there is no wildcard option, except the prefix mode for keywords.
          From the given example, you could define the comma as an operator
          and a delimiter with open

          0 1 2 3 4 5 6 7 8 9
          

          and closing

          ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL))
          

          and allow nesting (available through styler button) with keywords1

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors