Oniguruma 2016

From HPC users
Jump to navigationJump to search

Introduction

Oniguruma is a modern and flexible regular expressions library. It encompasses features from different regular expression implementations that traditionally exist in different languages.

Character encoding can be specified per regular expression object.

Supported character encodings:

ASCII, UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE, EUC-JP, EUC-TW, EUC-KR, EUC-CN, Shift_JIS, Big5, GB18030, KOI8-R, CP1251, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16 1

Installed version(s)

The following versions are installed and currently available on environment hpc-env/8.3:

  • Oniguruma/6.9.8-GCCcore-8.3.0

Loading Oniguruma

To load the desired version of the module, use the module load command, e.g.

module load hpc-env/8.3
module load Oniguruma

Always remember: these commands are case-sensitive!

Using Oniguruma

To find out of how to use Onigurumayou can just type in onig-config --help after loading the module to print out a help text to get you started:

$ onig-config --help

Usage: onig-config [OPTION]

  Values for OPTION are:
  --prefix[=DIR]       change prefix to DIR
  --prefix             print prefix
  --exec-prefix[=DIR]  change exec_prefix to DIR
  --exec-prefix        print exec_prefix
  --cflags             print C compiler flags
  --libs               print library information
  --version            print oniguruma version
  --help               print this help



Documentation

The full documentation can be found here.