Sublime Forum

"Preserve Case" option results in weird text replacement

#1
Text:
    ->on('Some_Class_Name::someMethodName', 'Another_Class_Name::anotherMethodName')

Search/Replace flags:
    Regular Expression
    Preserve Case (if disabled, there's no problem)

Find What:
    ->(.*)\('(.*)', '(.*)'\)

Replace With:
    -  \1, \2, \3 ]

Result:
    -  on, somE_clasS_name::soMemethOdname, Another_Class_Name::anotherMethodName ]
0 Likes