Ad Widget

Collapse

How to config regular expression bypass string =/

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tbin_vhit
    Junior Member
    • Jan 2019
    • 6

    #1

    How to config regular expression bypass string =/

    Dear all,
    How to config regular expression bypass string =/
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    It's not easy to do that using POSIX EXTENDED regular expression, you can try something like this. If your bypass string is "string" it would be
    Code:
    ([^s]|s[^t]|st[^r]|str[^i]|stri[^n]|strin[^g])

    Comment

    • tbin_vhit
      Junior Member
      • Jan 2019
      • 6

      #3
      Hi dimir,
      Thank for solution, I would likebypass string = and string \
      I was try [=] [\] but not OK.

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        Try this one:
        Code:
        ^[^=\\]*$

        Comment

        Working...