[development] Any solution for solving DB reserved word conflict?

Konstantin Käfer kkaefer at gmail.com
Mon Feb 18 17:52:29 UTC 2008


> [] has the advantage of being easily translatable to ``, whereas for  
> the other
> way round you'd need to parse the string in order to find out which  
> one is
> the opening character and which one is the closing one.

No. Since identifiers don't really contain whitespace, it's just s/ 
`([^`\s]+)`/[$1]/. You can add an additional whitespace to be matched  
before and after the backticks, but they are not necessary when the  
backticks are used correctly.

Konstantin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2110 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20080218/a108ba38/attachment-0001.bin 


More information about the development mailing list