Skip to content

preg_match() error after upgrading to 0.5.0 #88

@dan-farley

Description

@dan-farley

I upgraded to 0.5.0 and now I'm running into issues when I try to run the "php artisan solo" command. I downgraded to 0.4.0 and that works correctly, but once I upgraded back to 0.5.0 the issue came back. Any ideas?

% php artisan solo                                               

   ErrorException 

  preg_match(): Compilation failed: unknown property name after \P or \p at offset 22

  at vendor/soloterm/grapheme/src/Grapheme.php:79
     75▕             return static::$cache[$grapheme] = 1;
     76▕         }
     77▕ 
     78▕         // Check for special flag sequence patterns (Scotland, England, etc.)
  ➜  79▕         if (preg_match(static::$flagSequencePattern, $grapheme)) {
     80▕             return static::$cache[$grapheme] = 2;
     81▕         }
     82▕ 
     83▕         // Devanagari conjuncts and other complex scripts

      +26 vendor frames 

  27  artisan:13
      Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions