Processing Text Using Regular Expressions
summary
Claims an integrated regex system for Dyalog APL that uses the PCRE library to add search and replace, streaming and file modes, and callable transformation functions. Demonstrations show a UK postcode pattern using one or two letters syntax, DM→EUR numeric conversion via a function, line‑by‑line vs whole‑document modes, returned position/length codes, and nesting replacements with quad r and quad s operators. Implementation handles streams, options, and named derived functions.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:14APL search/replace
- 1:10More complex search
- 2:52Regular expression syntax
- 4:22Demonstration
- 11:20Regular expression support
- 12:28Design
- 13:11Source text
- 15:06Multi-line documents
- 17:04Transformations
- 23:29The variant operator 8
- 24:44Using to specify options
- 41:53Optimisations
- 42:40Future enhancements
- 44:08Summary
