container: hledger-flow: ethereum-based: support non-alpha chars (currency)

- Fixes broken import of any tx that contains non-alpha character(s) in
  its currency (digits, etc.)
  * Currencies may now contain any character(s) supported by hledger
This commit is contained in:
2025-08-04 15:15:38 -07:00
parent 0ce9302e50
commit 418ed80a8c

View File

@@ -22,7 +22,7 @@ date-format %Y-%m-%d %H:%M:%S
description %date +0000 description %date +0000
account1 assets:%account_name:%subaccount_name:%blockchain:%symbol account1 assets:%account_name:%subaccount_name:%blockchain:%symbol
amount %amount_ %symbol amount %amount_ "%symbol"
comment blockchain:%blockchain, type:%type, block:%block_number, blockid:%block_hash, index:%tx_index, method:%method_id, subaccount_address:%subaccount_address, from_address:%from_address, to_address:%to_address, txid:%tx_hash, direction:%direction comment blockchain:%blockchain, type:%type, block:%block_number, blockid:%block_hash, index:%tx_index, method:%method_id, subaccount_address:%subaccount_address, from_address:%from_address, to_address:%to_address, txid:%tx_hash, direction:%direction
@@ -39,7 +39,7 @@ if %token_id [0-9]
# Subtract when sending OUT # Subtract when sending OUT
if %direction ^OUT$ if %direction ^OUT$
amount -%amount_ %symbol amount -%amount_ "%symbol"
# Default transfers as equity accounts # Default transfers as equity accounts
if %direction ^IN$ if %direction ^IN$