Skip to main content

Portable SNOBOL/SPITBOL Patterns for Python.

Patterns can be composed with other Patterns and strings using the ‘+’ and ‘|’ operators.

Based on a C-language translation of the GNU Ada (GNAT) package by the original creator of SPITBOL.

Available as part of “spipat” C library::
  • tar zxvf spipat-0.9.3.tar.gz

  • ./configure

  • make;

  • make install (as root via “sudo” or “su”)

  • cd python

  • make

  • make install (as root via “sudo” or “su”)

Type “pydoc spipat” for documentation.

In theory, the package is system independent, given a C99 compiler, but has never been compiled with anything but gcc. MINGW should work, if that’s how Python was built.

Release history Release notifications | RSS feed

This release

0.9.3 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page