-3

I'm "translating" perl script to C# and I came across this operator: =~

Is there anything similar in C#?

It's my first time with perl, so it's pretty much a shot in the dark.

Thanks

ikegami
  • 367,544
  • 15
  • 269
  • 518
Ehud Grand
  • 3,501
  • 4
  • 33
  • 52

1 Answers1

2

Regex.IsMatch should be same as =~ in Perl. As I read from the below article its just a regular expression match.

What does =~ do in Perl?
Community
  • 1
  • 1
Biswabid
  • 1,378
  • 11
  • 26