bibicode 0.3.4

A crate to convert any natural number from one numeral system to another.
Documentation
name: bibicode
about: |
    This application allows the conversion of any natural number from one representation (a numeral system) to another. A numeral system is represented by its digits which can be any combination of UTF-8 chars. For example, "0", "1" will represent binary system.

after_help: |+
    The following numeral systems are pre-integrated into the application and can be used :
      - dec for decimal
      - hex for hexadecimal
      - bin for binay
      - base58 for base 58 used in bitcoin address representation
      - bibi for bibi-binary as defined by Boby Lapointe, the inspirator of this application
      - budu for an experimental numeral system which is well readable
      - utf8 for an experimental numeral system which is a combination of serveral utf8 symbols

    Numeral systems can also be described by a json file

    Example 1 : representation of binary in a file
    {
        "prefix":"0b",
        "digits":["0","1"]
    }

    Example 2 : bibi-binary system
    {
        "digits":[["H", "B", "K", "D"],["O", "A", "E", "I"]]
    }

    Example 3 : base58
    {
        "digits": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
    }

author: Jugla F.

args:
    - INPUT:
        help: input natural number to be converted, no limitation in length. Several numbers can be given. If no number given, read from standard input.
        required: false
        index: 1
        multiple: true
    - from:
        short: f
        long: from
        value_name: NUMERAL_SYSTEM or FILE
        help: Numeral system of the input natural number. Defaults to dec (decimal).
        takes_value: true
    - to:
        short: t
        long: to
        value_name: NUMERAL_SYSTEM or FILE
        help: Numeral system in which input natural number must be translated to. Defaults to dec (decimal).
        takes_value: true
    - concat:
        short: c
        long: concat
        help: Concat output into one number if serveral input numbers are present.
    - outseparator:
        short: s
        long: outseparator
        help: When printing serveral numbers, use this character as separator (default space).
        takes_value: true
    - outprefix:
        short: p
        long: outprefix
        help: When printing out, add this prefix before result.
        takes_value: true
    - outsuffix:
        short: x
        long: outsuffix
        help: When printing out, add this suffix after result.
        takes_value: true
    - regex:
        short: r
        long: regex
        help: Regex for reading numbers.
        takes_value: true