Unlock The Power of RegEx! JavaScript Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 4

  • @java3845
    @java3845 ปีที่แล้ว

    Thx Great Video

    • @DevDrawer
      @DevDrawer  ปีที่แล้ว +1

      Glad you liked it!

  • @stevenaschoff
    @stevenaschoff ปีที่แล้ว +1

    What javascript engine or browser are you using. When I use the match(pattern) method, I don't get the index and group information back, I just get an array of matched results. I used the Mozilla regex runner and I am using Brave. Looking at the example 5 output. I used that test verbatim and I did not get back what you did. A little confused right now. Thanks!
    Update: I see you are using node. Not sure why they would behave so differently. I would think it would be the same under the hood 😞

    • @DevDrawer
      @DevDrawer  ปีที่แล้ว +1

      Yeah, that is weird. I'm glad you got it figured out. I was able to replicate what you are saying in the browser though.