Posts by Matheus Henrique • 43 points
3 posts
-
2
votes2
answers65
viewsQ: How to take more than one property in a Javascript object array using unstructuring
I have an array of objects containing 5 objects, both with properties x and y: const objArr = [ { 'x': 1, 'y': 1 }, // OBJ0 { 'x': 2, 'y': 3 }, // OBJ1 { 'x': 3, 'y': 3 }, // OBJ2 { 'x': 3, 'y': 4…
javascriptasked Matheus Henrique 43 -
-1
votes1
answer394
viewsQ: Eclipse pattern view with black background
I am using Ubuntu 19.04 with the gnome interface, I am also using the flat remix theme and decided to install the eclipse (latest version) and when I open it, I come across the following problem: I…
eclipseasked Matheus Henrique 43 -
2
votes1
answer534
viewsQ: Catch string inside a text file using regex in Python
I would like to know how to get a string in this ' XXXX ' format inside a text file, using regex. I have tried several methods but without success: import re f = open('infos', 'r') padrao =…