MV QMovmevent ignoreCharacter fix | use variables instead of numbers

I'm looking for a fix similar to this one, but for event's comments tag.
Basically, QMovement is using <ignoreCharas:CHARAIDS> comment tag to determine which event should be ignored(have no collision) by the given event.

From what I understand its code looks like this:

Code:
var ignore = /<ignoreCharas:(.*?)>/i.exec(notes);
    this._ignoreCharacters = [];
    if (ignore) {
      this._ignoreCharacters = ignore[1].split(',').map(function(s) {
        return QPlus.charaIdToId(s);

Shaz's solution to a similar problem with QPathfind was this:
Code:
Game_Interpreter.prototype.qPathfindCommand = function(args) {
  // qPathfind CHARAID X Y
  // qPathfind CHARAID chase CHARAID2
  // qPathfind CHARAID clear
  args = args.replace(/\\V\[(\d+)\]/gi, function() {
    return $gameVariables.value(parseInt(arguments[1]));
  }.bind(this));
  var chara;

I've tried my best trying to adapt this code for the QMovement plugin but nothing worked.
Any thoughts?

Original thread: https://forums.rpgmakerweb.com/threads/qmovmevent-ignorecharacter-fix-use-variables-instead-of-numbers.137495/