Is this concatenation necessary: '/\\\\(.)' .'/' ?
To me a simpler way to write it is '/\\\\(.)/'
Am I missing something?

CommentFileSizeAuthor
common.inc_concat.patch832 bytesscor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kkaefer’s picture

That 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.

Freso’s picture

The 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.

Steven Jones’s picture

Status: Needs review » Reviewed & tested by the community

Looks good (packer still works after the patch is applied)

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

scor’s picture

fyi, according to Steven, these were leftover code from porting js code to php.

Anonymous’s picture

Status: Fixed » Closed (fixed)