Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is this concatenation necessary: '/\\\\(.)' .'/'
?
To me a simpler way to write it is '/\\\\(.)/'
Am I missing something?
Comment | File | Size | Author |
---|---|---|---|
common.inc_concat.patch | 832 bytes | scor | |
Comments
Comment #1
kkaefer CreditAttribution: kkaefer commentedThat string split-up shouldn't be necessary. I have no idea why it is in there. It may result from the packer code we copied from somewhere.
Comment #2
Freso CreditAttribution: Freso commentedThe patch looks good to me. I must admit, though, that I'm not entirely sure what I'd need to do to test this, so I'm wary of marking RTBC, even if my gut feeling says it should be able to go straight in.
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedLooks good (packer still works after the patch is applied)
Comment #4
Gábor HojtsyThanks, committed.
Comment #5
scor CreditAttribution: scor commentedfyi, according to Steven, these were leftover code from porting js code to php.
Comment #6
(not verified) CreditAttribution: commented