MCPcopy Create free account
hub / github.com/a4k-openproject/script.module.openscrapers / transformString

Method transformString

lib/pyparsing.py:2033–2079  ·  view source on GitHub ↗

Extension to :class:`scanString`, to modify matching text with modified tokens that may be returned from a parse action. To use ``transformString``, define a grammar and attach a parse action to it that modifies the returned token list. Invoking ``transformString()`

(self, instring)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_ustrFunction · 0.80
runTestsMethod · 0.80
stripHTMLTagsMethod · 0.80

Calls 5

scanStringMethod · 0.95
_trim_tracebackMethod · 0.95
_flattenFunction · 0.85
asListMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected