Skip to content

From text seems to fail if there's an original system defined #31

@binarymelon

Description

@binarymelon

(let [[id platform progress name] (-> game trim (split #"\s+" 4))]

Not all that familiar with Clojure, but something like this may work.

(vec (drop 1 (re-matches #"(\d+)\s+([^\s]*(?:\s+\([^\s]*\))?)\s+([^\s]*)\s+(.*)" game)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions