View previous topic :: View next topic |
Author |
Message |
Tillomar
Joined: 18 Oct 2010 Posts: 5
|
Posted: Mon Oct 18, 2010 11:28 pm Post subject: Weird problem with trailing dot in replacement name |
|
|
Hi *,
I'm trying to rename author's folders into the form
"lastname, firstname (initial.)*"
I'm using the following lines (the two line approach takes care of the occasional "jr." appendix):
1s: Code: | (?=^[^,]+$)(?!.*[jJ][rR]\.?$)^((\w+\.?[ ]+)+)(\w+)$ |
1r:
2s: Code: | (?=^[^,]+$)(?=.*[jJ][rR]\.?$)^((\w+\.?[ ]+)+)(\w+)[ ]*[jJ][rR]\.?$ |
2r:
3s: # two blanks
3r: # one blank
4s: # one leading blank
4r: # one leading blank
I'm encountering the following problem: A folder named "Jean M. Auel" is correctly shown in the preview line as "Auel, Jean M.", but the scan result shows no trailing dot. My 4th s/r line was specifically designed to remidy this issue by adding a trailing dot to trailing initials, without success.
Can anyone help me? _________________ So long,
Tillomar |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Tue Oct 19, 2010 2:46 am Post subject: |
|
|
Hi,
There is a minor bug with the previewer. It should not be showing the trailing period because windows does not allow file or folder names to end in a period.
Peter. |
|
Back to top |
|
 |
Tillomar
Joined: 18 Oct 2010 Posts: 5
|
Posted: Thu Oct 21, 2010 7:09 pm Post subject: |
|
|
admin wrote: | because windows does not allow file or folder names to end in a period |
Ok thanks, seems to have been a stupid question... _________________ So long,
Tillomar |
|
Back to top |
|
 |
|