Fixed bug in tilde resolution
Created by: ishanjain28
Problem: The problem exists in tilde resolution. Only the first tilde should be expanded, But the current code expands all tildes.
Solution:
My solution checks current position and only sets tilde, If current position is 0. i.e. ~
is the first character.
Changes introduced by this pull request:
- Only the first tilde is resolved instead of all tildes in a string.
Fixes: #709 (closed) #708 (closed)
State: [the state of this PR, e.g. WIP, ready, etc.] Completed.