regex_split   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func regex_split
  (lambda (regex str)
    (let ((a:i8* (salloc 2048))
          (b:i8* (salloc 2048)))
      (sprintf a "")
      (sprintf b "")
      (rsplit regex (cstring str) a b)
      (append (list (if (> (strlen a) 0)
                        (String a) (String str)))
              (if (> (strlen b) 0)
                  (regex_split regex (String b))
                  null)))))


Back to Index

Similar Entries

  • LR_split    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • Widget_set_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_horizontal_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_vertical_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_swap_split_orientation    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • aiProcess_SplitByBoneCount    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • aiProcess_SplitLargeMeshes    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • impc:ir:regex-structs-or-atoms    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:regex-tc-or-a    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:split-and-decode-poly-adhoc-name    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:split-namedfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:split-namedtype    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • regex:replace-all    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • regex:replace-everything    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • regex:type-split    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • regex_match    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_match    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_match    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_match    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_matches    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace_all    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace_all    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace_all    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_replace_all    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • regex_split    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • split-by    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • split-clock-time    scheme    /digego/extempore/tree/v0.8.9/libs/core/toplap_clock.xtm
  • splitjoin    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm