Bug Tracker

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#6114 closed enhancement (duplicate)

fcleanup function perfomance speed up

Reported by: vamp Owned by:
Priority: undecided Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: fcleanup Cc: [email protected]
Blocked by: Blocking:


return nm.replace(/[\w\s\.\|`]/g, function( ch ) {

return "
" + ch;



nm.replace(/(?=[\w\s\.\|`])/g, '

Change History (4)

comment:1 Changed 13 years ago by vamp

excuse me, "^" character was dropped from initial RegExp: http://gyazo.com/cf062387ab1881de8771199fd5257e2f.png

comment:2 Changed 12 years ago by ridgerunner

A fix very similar to this one was recently implemented (See #7062). However, the fix recommended here might be even faster. Only benchmarking can tell...

comment:3 Changed 12 years ago by snover

Priority: undecided
Resolution: duplicate
Status: newclosed

comment:4 Changed 12 years ago by snover

Duplicate of #7062.

Note: See TracTickets for help on using tickets.