Timeline for How to change configuration of detox (dash instead underscore)?
Current License: CC BY-SA 3.0
        5 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:40 | history | edited | CommunityBot | 
                
                    replaced http://stackoverflow.com/ with https://stackoverflow.com/ 
                
             | |
| Apr 19, 2015 at 13:02 | comment | added | Gilles 'SO- stop being evil' | @IgorVuckovic s/PATTERN/REPLACEMENT/replaces PATTERN (a Perl regular expression) by REPLACEMENT. Thegsuffix means to replace all occurrences (without it, only the first is replaced). For examples/_/-/greplaces each_by a-.s/[^[:alnum:]]/-/replaces each non-alphanumeric character by a-.s/[^[:alnum:]]+/-/replaces each sequence of non-alphanumeric characters by a single-.s/ +/-/replaces each sequence of spaces by a-. A\Aat the beginning of the pattern means that the replacement is carried out at the beginning of the name only. | |
| Apr 19, 2015 at 12:57 | comment | added | Igor V. | Currently, option rename 's/_/-/g; s/\A-*//' *works best for me. But, can you explain in short how to skip detox and replace not underscores, but spaces with dashes with this command? I don't understand it's structure, so I don't know how to change it. | |
| Apr 19, 2015 at 12:56 | vote | accept | Igor V. | ||
| Apr 18, 2015 at 23:37 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |