Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Oh My Git!

An open source game about learning Git! · By blinry, bleeptrack

Bug: Reordering events - cannot detect success

A topic by haydenbyrne created Mar 12, 2021 Views: 208
Viewing posts 1 to 1
(+1)

When events are reordered, it never detects success.

The win command contains this:

"git log main --oneline | grep -Pz "shoes[\s\S]*pants[\s\S]*underwear""

which doesn't appear to be valid. When I run the same command in terminal, I get the message:

"usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]

[-e pattern] [-f file] [--binary-files=value] [--color=when]

[--context[=num]] [--directories=action] [--label] [--line-buffered]

[--null] [pattern] [file ...]"

OS: macOS Mojave

Grep version: grep (BSD grep) 2.5.1-FreeBSD