# ---------------- # get_bytes_number # ---------------- # This subroutine returns the number of a byte value, i.e. "15MB" will return "15" subroutine(get_bytes_number(string bytes_value), ( bool match_number = matches_regular_expression(bytes_value, "([0-9]*)"); $1; ));