Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    find missing closing brackets

    Help wanted · · · – – – · · ·
    2
    2
    44
    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.
    • Mary Cook
      Mary Cook last edited by

      I have found the code to search for missing closing quotation marks. Is there one to find missing closing brackets?

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @Mary Cook last edited by

        @Mary-Cook ,

        It would be the same, except use \[ or \x5B instead of the first quote (for the part where you want to match the opening bracket). And \] or \x5D instead of the closing quote (to match the closing bracket).

        Or if you mean () for brackets, then use \( or \x28 for the opening parentheses, and \) or \x29 for the closing parentheses.

        Or if you mean {} for brackets, then use { or \x7B for the opening curly brace, and } or \x7D for the closing curly brace.

        • User Manual: Regular Expressions
        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors