• Jakob Gruber's avatar
    Revert "[regexp] Correctly escape a backslash-newline sequence" · 390c7fed
    Jakob Gruber authored
    This reverts commit 7d1f95d6.
    
    Reason for revert: Speculative revert for https://crbug.com/1046678
    
    Original change's description:
    > [regexp] Correctly escape a backslash-newline sequence
    > 
    > When printing the source string, a backslash-newline sequence ('\\\n',
    > '\\\r', '\\\u2028', '\\\u2029') should be formatted as '\n', '\r',
    > '\u2028', '\u2029', respectively. Prior to this CL it was formatted as
    > a backslash followed by the literal newline character.
    > 
    > Bug: v8:8615
    > Change-Id: Iac90195c56ea1707ea8469066b0cc967ea87fc73
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2016583
    > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#65986}
    
    TBR=neis@chromium.org,jgruber@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: v8:8615,chromium:1046678
    Change-Id: If28626a1c6868ed848310c0d30cf61a73326f2c1
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2027452Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66022}
    390c7fed
regexp.js 26.8 KB