Opened 8 years ago

Closed 8 years ago

# How to use space for option list_connector_string

Reported by: Owned by: anonymous CuriousCurmudgeon normal BatchModifyPlugin normal joerg.thoennes@… 0.11

### Description

Our keywords are seperated by space: "A B C"

Therefore, my preferred configuration for this would be:

[batchmod] fields_as_list = keywords,customers list_separator_regex = \s+ list_connector_string = ' '

But the space is stripped off. Tried also:

list_connector_string = ' ' list_connector_string = " " list_connector_string = \ list_connector_string =

But all characters used as given. At least, the last variant should work but in this case the keywords are concatenated by the empty string which breaks anything.

Suggestions

### comment:1 Changed 8 years ago by JThoennes

I posted this ticket before the description was complete / correctly formatted. Sorry about this. Since I cannot change it now, please replace the description by this one:

## Description

Our keywords are seperated by space: "A B C"

Therefore, my preferred configuration for this would be:

[batchmod]
fields_as_list = keywords,customers
list_separator_regex = \s+
list_connector_string = ' '


But the space is stripped off. Tried also:

list_connector_string = ' '
list_connector_string = " "
list_connector_string = \
list_connector_string =


But all characters used as given. At least, the last variant should work but in this case the keywords are concatenated by the empty string which breaks anything.

### Suggestions

• Provide space as default since the comma can be specified explicitely.
• Replace empty list_connector_string by exactly one space (preferred).
• Provide a way to escape characters (perfect, but needs more work).

### comment:3 Changed 8 years ago by CuriousCurmudgeon

(In [9374]) refs #7384

• Changed the default connector from a comma to a space. This change will need highlighted so users are not surprised when upgrading.

### comment:4 Changed 8 years ago by CuriousCurmudgeon

Status: new → assigned

### comment:5 Changed 8 years ago by CuriousCurmudgeon

Status: assigned → closed

### Modify Ticket

Change Properties