Skip to content

Commit

Permalink
doc: how to grep for all emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin committed Jul 4, 2024
1 parent a9733c4 commit c3abbbf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,12 @@ export CPLUS_INCLUDE_PATH=$SENTENCEPIECE_HOME/include${CPLUS_INCLUDE_PATH:+:$CPL
# Package Configuration for ./configure to work when building other packages.
export PKG_CONFIG_PATH=$SENTENCEPIECE_HOME/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
```


## Grep for Emojis

[POSIX and Unicode character categories](https://github.com/Genivia/ugrep?tab=readme-ov-file#posix-and-unicode-character-categories)

```sh
ugrep '\p{So}' input_file
```

0 comments on commit c3abbbf

Please sign in to comment.