Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e657a3449fbfd115a1db854fa1c769efa4fe299f
      
https://github.com/WebKit/WebKit/commit/e657a3449fbfd115a1db854fa1c769efa4fe299f
  Author: Rose <83477269+ataridre...@users.noreply.github.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M Source/JavaScriptCore/yarr/RegularExpression.cpp
    M Source/JavaScriptCore/yarr/RegularExpression.h

  Log Message:
  -----------
  startFrom parameter should be unsigned
https://bugs.webkit.org/show_bug.cgi?id=255527

Reviewed by Alexey Shvayka.

The value being passed as this argument always unsigned anyway, and when
used within the match function itself, it is always being passed to
another method or function, which takes an unsigned value, not a signed
one.

* Source/JavaScriptCore/yarr/RegularExpression.cpp:
  (JSC::Yarr::RegularExpression::match const):
  (JSC::Yarr::replace):
* Source/JavaScriptCore/yarr/RegularExpression.h:

Canonical link: https://commits.webkit.org/273319@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to