en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

New flag in regular expressions: `d`

Open Alexandre887 opened this issue 2 years ago • 0 comments

Patterns and flags

ECMAScript 2022 introduced a new flag for regular expressions: d. Here are some sources describing the behavior of this flag:

  • https://stackoverflow.com/a/73947884
  • https://www.dotnetcurry.com/javascript/ecmascript-2022#:~:text=RegExp%20Match%20Indices
  • https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/hasIndices#:~:text=The%20d%20flag%20indicates%20that%20the%20result%20of%20a%20regular%20expression%20match%20should%20contain%20the%20start%20and%20end%20indices%20of%20the%20substrings%20of%20each%20capture%20group.%20It%20does%20not%20change%20the%20regex's%20interpretation%20or%20matching%20behavior%20in%20any%20way,%20but%20only%20provides%20additional%20information%20in%20the%20matching%20result.

Alexandre887 avatar Aug 16 '23 21:08 Alexandre887

@PhilippeChepy @piepmatz @pierre-emmanuelJ @RainbowMango @remyleone @ringtail @schegi @Sh4d1 @shysank @sohan-oracle @tallaxes @tghartland @thirdeyenick @towca @trungng92 @vishalanarase @v-pap @zalmarge

gjtempleton avatar Mar 12 '24 21:03 gjtempleton

@gjtempleton is it possible to include backports of #6617 for 1.29 and 1.28?

https://github.com/kubernetes/autoscaler/pull/6629 https://github.com/kubernetes/autoscaler/pull/6630

avorima avatar Mar 13 '24 17:03 avorima

Would this release include a fix for this HIGH severity finding? https://github.com/kubernetes/autoscaler/issues/6279

m-barthelemy avatar Mar 14 '24 05:03 m-barthelemy

Would this release include a fix for this HIGH severity finding? https://github.com/kubernetes/autoscaler/issues/6279

Short answer, unless we have information suggesting this is a high enough risk to work around the fact we vendor it from the upstream k/k repo and it's still to be patched there, no. I've put a bit more context in the original issue.

gjtempleton avatar Mar 14 '24 14:03 gjtempleton

Releases published and release notes published

/close

gjtempleton avatar Apr 18 '24 22:04 gjtempleton

@gjtempleton: Closing this issue.

In response to this:

Releases published and release notes published

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Apr 18 '24 22:04 k8s-ci-robot