Jump to content

questions about regexp

- - - - -

  • Please log in to reply
2 replies to this topic

#1
dadli

dadli

    Newbie

  • Members
  • PipPip
  • 12 posts
hello .
my questions is about regexp.
for example in pattern this [^k] means: all except symbol k, but how write: "all except Back references".
i write #(k)[^\\1]# , but this code not working, how is The correct code?
if you Learn my questions please response me.

p.s.
dont make :laugh:, i am null in english language, this is my first post in english language :)
thanks

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
A better question would be, what are you trying to accomplish? You can't just do [^\\1]. It won't work, because that's not how those are interpretted.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
dadli

dadli

    Newbie

  • Members
  • PipPip
  • 12 posts
WingedPanther
ok, Thanks :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users