Package: ore 1.7.4

ore: An R Interface to the Onigmo Regular Expression Library

Provides an alternative to R's built-in functionality for handling regular expressions, based on the Onigmo library. Offers first-class compiled regex objects, partial matching and function-based substitutions, amongst other features.

Authors:Jon Clayden, based on Onigmo by K. Kosako and K. Takata

ore_1.7.4.tar.gz
ore_1.7.4.zip(r-4.5)ore_1.7.4.zip(r-4.4)ore_1.7.4.zip(r-4.3)
ore_1.7.4.tgz(r-4.4-x86_64)ore_1.7.4.tgz(r-4.4-arm64)ore_1.7.4.tgz(r-4.3-x86_64)ore_1.7.4.tgz(r-4.3-arm64)
ore_1.7.4.tar.gz(r-4.5-noble)ore_1.7.4.tar.gz(r-4.4-noble)
ore_1.7.4.tgz(r-4.4-emscripten)ore_1.7.4.tgz(r-4.3-emscripten)
ore.pdf |ore.html
ore/json (API)
NEWS

# Install 'ore' in R:
install.packages('ore', repos = c('https://jonclayden.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jonclayden/ore/issues

Datasets:
  • glass - Multilingual sample text

On CRAN:

regexregular-expressionstext-analysis

7.25 score 57 stars 6 packages 116 scripts 848 downloads 33 exports 0 dependencies

Last updated 3 months agofrom:85ec3e57ec. Checks:OK: 2 NOTE: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64NOTENov 01 2024
R-4.5-linux-x86_64OKNov 01 2024
R-4.4-win-x86_64NOTENov 01 2024
R-4.4-mac-x86_64NOTENov 01 2024
R-4.4-mac-aarch64NOTENov 01 2024
R-4.3-win-x86_64NOTENov 01 2024
R-4.3-mac-x86_64NOTENov 01 2024
R-4.3-mac-aarch64NOTENov 01 2024

Exports:%~%%~|%%~~%esgroupsis_oreis_orematchis.oreis.orematchmatchesoreore_dictore_escapeore_fileore_ismatchore_lastmatchore_matchore_replore_searchore_splitore_substore_switchore.dictore.escapeore.fileore.ismatchore.lastmatchore.matchore.replore.searchore.splitore.substore.switch

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Expression substitutiones
Multilingual sample textglass
Extract matching substringsgroups groups.default groups.orearg groups.orematch groups.orematches matches matches.default matches.orematch matches.orematches
Oniguruma regular expressionsis.ore is_ore ore print.ore
Get or set entries in the pattern dictionaryore.dict ore_dict
Escape regular expression special charactersore.escape ore_escape
Use a file as a text sourceore.file orefile ore_file
Does text match a regex?%~% %~|% %~~% ore.ismatch ore_ismatch
Retrieve the last matchore.lastmatch ore_lastmatch
Search for matches to a regular expressionis.orematch is_orematch ore.match ore.search orematch orematches ore_match ore_search print.orematch print.orematches [.orematch [.orematches
Split strings using a regexore.split ore_split
Replace matched substrings with new textore.repl ore.subst ore_repl ore_subst
String multiplexingore.switch ore_switch